FileDocCategorySizeDatePackage
Vetoer.javaAPI DocHibernate 3.2.51127Sun Sep 26 00:18:28 BST 2004org.hibernate.test.legacy

Vetoer

public class Vetoer extends Object implements org.hibernate.classic.Lifecycle

Fields Summary
boolean
onSaveCalled
boolean
onUpdateCalled
boolean
onDeleteCalled
private String
name
private String[]
strings
Constructors Summary
Methods Summary
public java.lang.StringgetName()

		return name;
	
public java.lang.String[]getStrings()

		return strings;
	
public booleanonDelete(org.hibernate.Session s)

		boolean result = !onDeleteCalled;
		onDeleteCalled = true;
		return result;
	
public voidonLoad(org.hibernate.Session s, java.io.Serializable id)

public booleanonSave(org.hibernate.Session s)

		boolean result = !onSaveCalled;
		onSaveCalled = true;
		return result;
	
public booleanonUpdate(org.hibernate.Session s)

		boolean result = !onUpdateCalled;
		onUpdateCalled = true;
		return result;
	
public voidsetName(java.lang.String name)

		this.name = name;
	
public voidsetStrings(java.lang.String[] strings)

		this.strings = strings;