1 | public class Bag extends Collection {↵ | | 1 | public class IdentifierBag extends IdentifierCollection {↵
|
|
2 | public Bag(PersistentClass owner) {↵ | | 2 | public IdentifierBag(PersistentClass owner) {↵
|
3 | super(owner);↵ | | 3 | super(owner);↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public CollectionType getDefaultCollectionType() {↵ | | 5 | public CollectionType getDefaultCollectionType() {↵
|
6 | return TypeFactory.bag( getRole(), getReferencedPropertyName(), isEmbedded() );↵ | | 6 | return TypeFactory.idbag( getRole(), getReferencedPropertyName(), isEmbedded() );↵
|
7 | }↵ | | 7 | }↵
|
|
8 | void createPrimaryKey() {↵ | | |
|
9 | //create an index on the key columns??↵ | | |
|
10 | }↵ | | |
|
|
11 | public Object accept(ValueVisitor visitor) {↵ | | 8 | public Object accept(ValueVisitor visitor) {↵
|
12 | return visitor.accept(this) | | 9 | return visitor.accept(this)
|