FileDocCategorySizeDatePackage
Bag.javaAPI DocHibernate 3.2.5642Sat Feb 19 20:34:50 GMT 2005org.hibernate.mapping

Bag

public class Bag extends Collection
A bag permits duplicates, so it has no primary key
author
Gavin King

Fields Summary
Constructors Summary
public Bag(PersistentClass owner)

		super(owner);
	
Methods Summary
public java.lang.Objectaccept(ValueVisitor visitor)

		return visitor.accept(this);
	
voidcreatePrimaryKey()

		//create an index on the key columns??
	
public org.hibernate.type.CollectionTypegetDefaultCollectionType()

		return TypeFactory.bag( getRole(), getReferencedPropertyName(), isEmbedded() );