Methods Summary |
---|
protected void | finalize()
|
public org.hibernate.test.legacy.Qux | getChild()
stored=true;
this.childKey = child==null ? null : child.getKey();
if (childKey!=null && child==null) child = (Qux) session.load(Qux.class, childKey);
return child;
|
private java.lang.Long | getChildKey()
return childKey;
|
public boolean | getCreated()
return created;
|
public boolean | getDeleted()
return deleted;
|
public FooProxy | getFoo()
return foo;
|
public java.util.Set | getFums()
return fums;
|
public Holder | getHolder()
return holder;
|
public java.lang.Long | getKey()
return key;
|
public boolean | getLoaded()
return loaded;
|
public java.util.List | getMoreFums()
return moreFums;
|
public boolean | getStored()
return stored;
|
public java.lang.String | getStuff()
return stuff;
|
public boolean | onDelete(org.hibernate.Session session)
deleted=true;
try {
session.delete(foo);
}
catch (Exception e) {
throw new CallbackException(e);
}
//if (child!=null) session.delete(child);
return NO_VETO;
|
public void | onLoad(org.hibernate.Session session, java.io.Serializable id)
loaded=true;
this.session=session;
|
public boolean | onSave(org.hibernate.Session session)
created=true;
try {
foo = new Foo();
session.save(foo);
}
catch (Exception e) {
throw new CallbackException(e);
}
foo.setString("child of a qux");
return NO_VETO;
|
public boolean | onUpdate(org.hibernate.Session s)
return NO_VETO;
|
public void | setChild(org.hibernate.test.legacy.Qux child)
this.child = child;
|
private void | setChildKey(java.lang.Long childKey)
this.childKey = childKey;
|
private void | setCreated(boolean created)
this.created = created;
|
private void | setDeleted(boolean deleted)
this.deleted = deleted;
|
public void | setFoo(FooProxy foo)
this.foo = foo;
|
public void | setFums(java.util.Set fums)
this.fums = fums;
|
public void | setHolder(Holder holder)
this.holder = holder;
|
private void | setKey(long key)
this.key = new Long(key);
|
private void | setLoaded(boolean loaded)
this.loaded = loaded;
|
public void | setMoreFums(java.util.List moreFums)
this.moreFums = moreFums;
|
private void | setStored(boolean stored)
this.stored = stored;
|
public void | setStuff(java.lang.String stuff)
this.stuff = stuff;
|
public void | setTheKey(long key)
this.key = new Long(key);
|
public void | store()
|