1 package org.hibernate.mapping; 3 4 import org.hibernate.type.CollectionType; 5 import org.hibernate.type.TypeFactory; 6 7 11 public class IdentifierBag extends IdentifierCollection { 12 13 public IdentifierBag(PersistentClass owner) { 14 super(owner); 15 } 16 17 public CollectionType getDefaultCollectionType() { 18 return TypeFactory.idbag( getRole(), getReferencedPropertyName(), isEmbedded() ); 19 } 20 21 public Object accept(ValueVisitor visitor) { 22 return visitor.accept(this); 23 } 24 } 25 | Popular Tags |