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

Contained

public class Contained extends Object

Fields Summary
private Container
container
private long
id
private Collection
bag
private Collection
lazyBag
Constructors Summary
Methods Summary
public booleanequals(java.lang.Object other)

	
	    
		return id==( (Contained) other ).getId();
	
public java.util.CollectiongetBag()
Returns the bag.

return
Collection

		return bag;
	
public ContainergetContainer()
Returns the container.

return
Container

		return container;
	
public longgetId()
Returns the id.

return
long

		return id;
	
public java.util.CollectiongetLazyBag()
Returns the lazyBag.

return
Collection

		return lazyBag;
	
public inthashCode()

		return new Long(id).hashCode();
	
public voidsetBag(java.util.Collection bag)
Sets the bag.

param
bag The bag to set

		this.bag = bag;
	
public voidsetContainer(Container container)
Sets the container.

param
container The container to set

		this.container = container;
	
public voidsetId(long id)
Sets the id.

param
id The id to set

		this.id = id;
	
public voidsetLazyBag(java.util.Collection lazyBag)
Sets the lazyBag.

param
lazyBag The lazyBag to set

		this.lazyBag = lazyBag;