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

Fum

public class Fum extends Object implements Serializable, org.hibernate.classic.Lifecycle

Fields Summary
private String
fum
private FumCompositeID
id
private Fum
fo
private Qux[]
quxArray
private Set
friends
private Calendar
lastUpdated
private String
tString
private short
vid
private short
dupe
private MapComponent
mapComponent
Constructors Summary
public Fum()


	  
public Fum(FumCompositeID id)

		this.id = id;
		friends = new HashSet();
		FumCompositeID fid = new FumCompositeID();
		fid.setDate( new Date() );
		fid.setShort( (short) ( id.short_ + 33 ) );
		fid.setString( id.string_ + "dd" );
		Fum f = new Fum();
		f.id = fid;
		f.fum="FRIEND";
		friends.add(f);
	
Methods Summary
public shortgetDupe()

		return dupe;
	
public org.hibernate.test.legacy.FumgetFo()

		return fo;
	
public java.util.SetgetFriends()

		return friends;
	
public java.lang.StringgetFum()

		return fum;
	
public FumCompositeIDgetId()

		return id;
	
public java.util.CalendargetLastUpdated()

		return lastUpdated;
	
public org.hibernate.test.legacy.Fum$MapComponentgetMapComponent()

		return mapComponent;
	
public Qux[]getQuxArray()

		return quxArray;
	
public java.lang.StringgetTString()

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

		if (friends==null) return false;
		try {
			Iterator iter = friends.iterator();
			while ( iter.hasNext() ) {
				s.delete( iter.next() );
			}
		}
		catch (Exception e) {
			throw new CallbackException(e);
		}
		return false;
	
public voidonLoad(org.hibernate.Session s, java.io.Serializable id)

	
public booleanonSave(org.hibernate.Session s)

		if (friends==null) return false;
		try {
			Iterator iter = friends.iterator();
			while ( iter.hasNext() ) {
				s.save( iter.next() );
			}
		}
		catch (Exception e) {
			throw new CallbackException(e);
		}
		return false;
	
public booleanonUpdate(org.hibernate.Session s)

		return false;
	
public voidsetDupe(short s)

		dupe = s;
	
public voidsetFo(org.hibernate.test.legacy.Fum fo)

		this.fo = fo;
	
public voidsetFriends(java.util.Set friends)

		this.friends = friends;
	
public voidsetFum(java.lang.String fum)

		this.fum = fum;
	
private voidsetId(FumCompositeID id)

		this.id = id;
	
public voidsetLastUpdated(java.util.Calendar calendar)

		lastUpdated = calendar;
	
public voidsetMapComponent(org.hibernate.test.legacy.Fum$MapComponent mapComponent)

		this.mapComponent = mapComponent;
	
public voidsetQuxArray(Qux[] quxArray)

		this.quxArray = quxArray;
	
public voidsetTString(java.lang.String string)

		tString = string;