FileDocCategorySizeDatePackage
Baz.javaAPI DocHibernate 3.2.59020Tue Oct 26 04:10:50 BST 2004org.hibernate.test.legacy

Baz

public class Baz extends Object implements Named, Serializable, Comparable

Fields Summary
private SortedSet
stringSet
private Map
stringDateMap
private List
stringList
private int[]
intArray
private FooProxy[]
fooArray
private String[]
stringArray
private String
code
private List
customs
private List
topComponents
private Set
fooSet
private FooComponent[]
components
private Date[]
timeArray
private int
count
private String
name
private Collection
bag
private Set
topFoos
private Map
topGlarchez
private Set
cascadingBars
private Map
fooToGlarch
private Map
fooComponentToFoo
private Map
glarchToFoo
private List
fees
private Collection
fooBag
private Set
cached
private Map
cachedMap
private Map
stringGlarchMap
private Map
anyToAny
private List
manyToAny
private Collection
idFooBag
private Collection
byteBag
private FooProxy
foo
private List
bazez
private SortedSet
sortablez
private NestingComponent
collectionComponent
private String
text
private List
parts
private List
moreParts
public List
subs
public Baz
superBaz
Constructors Summary
Baz()

Methods Summary
public intcompareTo(java.lang.Object o)

see
java.lang.Comparable#compareTo(java.lang.Object)

		return ( (Baz) o ).code.compareTo(code);
	
public java.util.MapgetAnyToAny()
Returns the anyToAny.

return
Map

		return anyToAny;
	
public java.util.CollectiongetBag()

		return bag;
	
public java.util.ListgetBazez()

		return bazez;
	
public java.util.CollectiongetByteBag()

		return byteBag;
	
public java.util.SetgetCached()
Returns the cached.

return
Set

		return cached;
	
public java.util.MapgetCachedMap()
Returns the cachedMap.

return
Map

		return cachedMap;
	
public java.util.SetgetCascadingBars()

		return cascadingBars;
	
public java.lang.StringgetCode()

		return code;
	
public NestingComponentgetCollectionComponent()

		return collectionComponent;
	
public FooComponent[]getComponents()

		return components;
	
public intgetCount()

		return count;
	
public java.util.ListgetCustoms()

		return customs;
	
public java.util.ListgetFees()

		return fees;
	
public FooProxygetFoo()

		return foo;
	
public FooProxy[]getFooArray()

		return fooArray;
	
public java.util.CollectiongetFooBag()

		return fooBag;
	
public java.util.MapgetFooComponentToFoo()

		return fooComponentToFoo;
	
public java.util.SetgetFooSet()

		return fooSet;
	
public java.util.MapgetFooToGlarch()

		return fooToGlarch;
	
public java.util.MapgetGlarchToFoo()

		return glarchToFoo;
	
public java.util.CollectiongetIdFooBag()

		return idFooBag;
	
public int[]getIntArray()

		return intArray;
	
public java.util.ListgetManyToAny()

		return manyToAny;
	
public java.util.ListgetMoreParts()

		return moreParts;
	
public java.lang.StringgetName()

		return name;
	
public java.util.ListgetParts()

		return parts;
	
public java.util.SortedSetgetSortablez()

		return sortablez;
	
public java.lang.String[]getStringArray()

		return stringArray;
	
public java.util.MapgetStringDateMap()

		return stringDateMap;
	
public java.util.MapgetStringGlarchMap()
Returns the stringGlarchMap.

return
Map

		return stringGlarchMap;
	
public java.util.ListgetStringList()

		return stringList;
	
public java.util.SortedSetgetStringSet()

		return stringSet;
	
public java.lang.StringgetText()

return

		return text;
	
public java.util.Date[]getTimeArray()

		return timeArray;
	
public java.util.ListgetTopComponents()

		return topComponents;
	
public java.util.SetgetTopFoos()

		return topFoos;
	
public java.util.MapgetTopGlarchez()

		return topGlarchez;
	
public voidsetAnyToAny(java.util.Map anyToAny)
Sets the anyToAny.

param
anyToAny The anyToAny to set

		this.anyToAny = anyToAny;
	
public voidsetBag(java.util.Collection bag)

		this.bag = bag;
	
public voidsetBazez(java.util.List list)

		bazez = list;
	
public voidsetByteBag(java.util.Collection list)

		byteBag = list;
	
public voidsetCached(java.util.Set cached)
Sets the cached.

param
cached The cached to set

		this.cached = cached;
	
public voidsetCachedMap(java.util.Map cachedMap)
Sets the cachedMap.

param
cachedMap The cachedMap to set

		this.cachedMap = cachedMap;
	
public voidsetCascadingBars(java.util.Set cascadingBars)

		this.cascadingBars = cascadingBars;
	
public voidsetCode(java.lang.String code)

		this.code = code;
	
public voidsetCollectionComponent(NestingComponent collection)

		collectionComponent = collection;
	
public voidsetComponents(FooComponent[] components)

		this.components = components;
	
public voidsetCount(int count)

		this.count = count;
	
public voidsetCustoms(java.util.List customs)

		this.customs = customs;
	
public voidsetDefaults()

		SortedSet set = new TreeSet();
		set.add("foo"); set.add("bar"); set.add("baz");
		setStringSet(set);
		Map map = new TreeMap();
		map.put( "now", new Date() );
		map.put( "never", null );
		map.put( "big bang", new Date(0) );
		setStringDateMap(map);
		List list = new ArrayList();
		list.addAll(set);
		setStringList(list);
		setIntArray( new int[] { 1,3,3,7 } );
		setFooArray( new Foo[0] );
		setStringArray( (String[]) list.toArray( new String[0] ) );
		customs = new ArrayList();
		customs.add( new String[] { "foo", "bar" } );
		customs.add( new String[] { "A", "B" } );
		customs.add( new String[] { "1", "2" } );
		
		fooSet = new HashSet();
		components = new FooComponent[] {
			new FooComponent("foo", 42, null, null),
			new FooComponent("bar", 88, null, new FooComponent("sub", 69, null, null) )
		};
		timeArray = new Date[] { new Date(), new Date(), null, new Date(0) };
		TreeSet x = new TreeSet();
		x.add("w"); x.add("x"); x.add("y"); x.add("z");
		TreeSet a = new TreeSet();
		a.add("a"); a.add("b"); a.add("d"); a.add("c");
		
		count = 667;
		name="Bazza";
		topComponents = new ArrayList();
		topComponents.add( new FooComponent("foo", 11, new Date[] { new Date(), new Date(123) }, null) );
		topComponents.add( new FooComponent("bar", 22, new Date[] { new Date(7), new Date(456) }, null) );
		topComponents.add( null );
		bag = new ArrayList();
		bag.add("duplicate");
		bag.add("duplicate");
		bag.add("duplicate");
		bag.add("unique");
		cached = new TreeSet();
		CompositeElement ce = new CompositeElement();
		ce.setFoo("foo");
		ce.setBar("bar");
		CompositeElement ce2 = new CompositeElement();
		ce2.setFoo("fooxxx");
		ce2.setBar("barxxx");
		cached.add(ce);
		cached.add(ce2);
		cachedMap = new TreeMap();
		cachedMap.put(this, ce);
		
		text="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
		for (int i=0; i<10; i++) text+=text;
		
	
public voidsetFees(java.util.List fees)

		this.fees = fees;
	
public voidsetFoo(FooProxy foo)

		this.foo = foo;
	
public voidsetFooArray(FooProxy[] fooArray)

		this.fooArray = fooArray;
	
public voidsetFooBag(java.util.Collection fooBag)

		this.fooBag = fooBag;
	
public voidsetFooComponentToFoo(java.util.Map fooComponentToFoo)

		this.fooComponentToFoo = fooComponentToFoo;
	
public voidsetFooSet(java.util.Set fooSet)

		this.fooSet = fooSet;
	
public voidsetFooToGlarch(java.util.Map fooToGlarch)

		this.fooToGlarch = fooToGlarch;
	
public voidsetGlarchToFoo(java.util.Map glarchToFoo)

		this.glarchToFoo = glarchToFoo;
	
public voidsetIdFooBag(java.util.Collection collection)

		idFooBag = collection;
	
public voidsetIntArray(int[] intArray)

		this.intArray = intArray;
	
public voidsetManyToAny(java.util.List manyToAny)

		this.manyToAny = manyToAny;
	
public voidsetMoreParts(java.util.List moreParts)

		this.moreParts = moreParts;
	
public voidsetName(java.lang.String name)

		this.name = name;
	
public voidsetParts(java.util.List list)

		parts = list;
	
public voidsetSortablez(java.util.SortedSet set)

		sortablez = set;
	
public voidsetStringArray(java.lang.String[] stringArray)

		this.stringArray = stringArray;
	
public voidsetStringDateMap(java.util.Map stringDateMap)

		this.stringDateMap = stringDateMap;
	
public voidsetStringGlarchMap(java.util.Map stringGlarchMap)
Sets the stringGlarchMap.

param
stringGlarchMap The stringGlarchMap to set

		this.stringGlarchMap = stringGlarchMap;
	
public voidsetStringList(java.util.List stringList)

		this.stringList = stringList;
	
public voidsetStringSet(java.util.SortedSet stringSet)

		this.stringSet = stringSet;
	
public voidsetText(java.lang.String string)

param
string

		text = string;
	
public voidsetTimeArray(java.util.Date[] timeArray)

		this.timeArray = timeArray;
	
public voidsetTopComponents(java.util.List topComponents)

		this.topComponents = topComponents;
	
public voidsetTopFoos(java.util.Set topFoos)

		this.topFoos = topFoos;
	
public voidsetTopGlarchez(java.util.Map topGlarchez)

		this.topGlarchez = topGlarchez;