|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.hibernate.mapping.Collection
Mapping for a collection. Subclasses specialize to particular collection styles.
| Field Summary | |
static String |
DEFAULT_ELEMENT_COLUMN_NAME
|
static String |
DEFAULT_KEY_COLUMN_NAME
|
| Constructor Summary | |
protected |
Collection(PersistentClass owner)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String DEFAULT_ELEMENT_COLUMN_NAME
public static final String DEFAULT_KEY_COLUMN_NAME
| Constructor Detail |
protected Collection(PersistentClass owner)
| Method Detail |
public boolean isSet()
public SimpleValue getKey()
public Value getElement()
public boolean isIndexed()
public Table getCollectionTable()
public void setCollectionTable(Table table)
public boolean isSorted()
public Comparator getComparator()
public boolean isLazy()
public void setLazy(boolean lazy)
public String getRole()
public abstract PersistentCollectionType getCollectionType()
public boolean isPrimitiveArray()
public boolean isArray()
public boolean isOneToMany()
public CacheConcurrencyStrategy getCache()
public boolean isInverse()
public Class getOwnerClass()
public String getOrderBy()
public void setCache(CacheConcurrencyStrategy cache)
cache - The cache to setpublic void setComparator(Comparator comparator)
comparator - The comparator to setpublic void setElement(Value element)
element - The element to setpublic void setKey(SimpleValue key)
key - The key to setpublic void setOrderBy(String orderBy)
orderBy - The orderBy to setpublic void setRole(String role)
role - The role to setpublic void setSorted(boolean sorted)
sorted - The sorted to setpublic void setInverse(boolean inverse)
inverse - The inverse to setpublic PersistentClass getOwner()
public void setOwner(PersistentClass owner)
owner - The owner to setpublic String getWhere()
public void setWhere(String where)
where - The where to setpublic boolean isIdentified()
public boolean hasOrphanDelete()
public void setOrphanDelete(boolean orphanDelete)
public int getBatchSize()
public void setBatchSize(int i)
public int getOuterJoinFetchSetting()
getOuterJoinFetchSetting in interface Fetchablepublic void setOuterJoinFetchSetting(int joinedFetch)
setOuterJoinFetchSetting in interface Fetchablepublic void setCollectionPersisterClass(Class persister)
public Class getCollectionPersisterClass()
public void validate(Mapping mapping) throws MappingException
MappingExceptionpublic Iterator getColumnIterator()
getColumnIterator in interface Valuepublic int getColumnSpan()
getColumnSpan in interface Valuepublic Formula getFormula()
getFormula in interface Valuepublic Type getType()
public boolean isNullable()
isNullable in interface Valuepublic boolean isUnique()
public Table getTable()
public void createForeignKey()
createForeignKey in interface Valuepublic boolean isSimpleValue()
isSimpleValue in interface Valuepublic boolean isValid(Mapping mapping) throws MappingException
MappingExceptionpublic void createAllKeys()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||