Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » mapping » [javadoc | source]
org.hibernate.mapping
abstract public class: Collection [javadoc | source]
java.lang.Object
   org.hibernate.mapping.Collection

All Implemented Interfaces:
    Filterable, Value, Fetchable

Direct Known Subclasses:
    IdentifierCollection, Array, List, Bag, Map, IdentifierBag, IndexedCollection, PrimitiveArray, Set

Mapping for a collection. Subclasses specialize to particular collection styles.
Field Summary
public static final  String DEFAULT_ELEMENT_COLUMN_NAME     
public static final  String DEFAULT_KEY_COLUMN_NAME     
Constructor:
 protected Collection(PersistentClass owner) 
Method from org.hibernate.mapping.Collection Summary:
addFilter,   addManyToManyFilter,   createAllKeys,   createForeignKey,   createPrimaryKey,   getBatchSize,   getCacheConcurrencyStrategy,   getCacheRegionName,   getCollectionPersisterClass,   getCollectionTable,   getCollectionType,   getColumnInsertability,   getColumnIterator,   getColumnSpan,   getColumnUpdateability,   getComparator,   getComparatorClassName,   getCustomSQLDelete,   getCustomSQLDeleteAll,   getCustomSQLDeleteAllCheckStyle,   getCustomSQLDeleteCheckStyle,   getCustomSQLInsert,   getCustomSQLInsertCheckStyle,   getCustomSQLUpdate,   getCustomSQLUpdateCheckStyle,   getDefaultCollectionType,   getElement,   getElementNodeName,   getFetchMode,   getFilterMap,   getKey,   getLoaderName,   getManyToManyFilterMap,   getManyToManyOrdering,   getManyToManyWhere,   getNodeName,   getOrderBy,   getOwner,   getOwnerEntityName,   getReferencedPropertyName,   getRole,   getSynchronizedTables,   getTable,   getType,   getTypeName,   getTypeParameters,   getWhere,   hasFormula,   hasOrder,   hasOrphanDelete,   isAlternateUniqueKey,   isArray,   isCustomDeleteAllCallable,   isCustomDeleteCallable,   isCustomInsertCallable,   isCustomUpdateCallable,   isEmbedded,   isExtraLazy,   isIdentified,   isIndexed,   isInverse,   isLazy,   isMap,   isMutable,   isNullable,   isOneToMany,   isOptimisticLocked,   isPrimitiveArray,   isSet,   isSimpleValue,   isSorted,   isSubselectLoadable,   isValid,   setBatchSize,   setCacheConcurrencyStrategy,   setCacheRegionName,   setCollectionPersisterClass,   setCollectionTable,   setComparator,   setComparatorClassName,   setCustomSQLDelete,   setCustomSQLDeleteAll,   setCustomSQLInsert,   setCustomSQLUpdate,   setElement,   setElementNodeName,   setEmbedded,   setExtraLazy,   setFetchMode,   setInverse,   setKey,   setLazy,   setLoaderName,   setManyToManyOrdering,   setManyToManyWhere,   setMutable,   setNodeName,   setOptimisticLocked,   setOrderBy,   setOrphanDelete,   setOwner,   setReferencedPropertyName,   setRole,   setSorted,   setSubselectLoadable,   setTypeName,   setTypeParameters,   setTypeUsingReflection,   setWhere,   toString,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.mapping.Collection Detail:
 public  void addFilter(String name,
    String condition) 
 public  void addManyToManyFilter(String name,
    String condition) 
 public  void createAllKeys() throws MappingException 
 public  void createForeignKey() 
 abstract  void createPrimaryKey()
 public int getBatchSize() 
 public String getCacheConcurrencyStrategy() 
 public String getCacheRegionName() 
 public Class getCollectionPersisterClass() 
 public Table getCollectionTable() 
 public CollectionType getCollectionType() 
 public boolean[] getColumnInsertability() 
 public Iterator getColumnIterator() 
 public int getColumnSpan() 
 public boolean[] getColumnUpdateability() 
 public Comparator getComparator() 
 public String getComparatorClassName() 
 public String getCustomSQLDelete() 
 public String getCustomSQLDeleteAll() 
 public ExecuteUpdateResultCheckStyle getCustomSQLDeleteAllCheckStyle() 
 public ExecuteUpdateResultCheckStyle getCustomSQLDeleteCheckStyle() 
 public String getCustomSQLInsert() 
 public ExecuteUpdateResultCheckStyle getCustomSQLInsertCheckStyle() 
 public String getCustomSQLUpdate() 
 public ExecuteUpdateResultCheckStyle getCustomSQLUpdateCheckStyle() 
 abstract public CollectionType getDefaultCollectionType() throws MappingException
 public Value getElement() 
 public String getElementNodeName() 
 public FetchMode getFetchMode() 
 public Map getFilterMap() 
 public KeyValue getKey() 
 public String getLoaderName() 
 public Map getManyToManyFilterMap() 
 public String getManyToManyOrdering() 
 public String getManyToManyWhere() 
 public String getNodeName() 
 public String getOrderBy() 
 public PersistentClass getOwner() 
 public String getOwnerEntityName() 
 public String getReferencedPropertyName() 
 public String getRole() 
 public Set getSynchronizedTables() 
 public Table getTable() 
 public Type getType() throws MappingException 
 public String getTypeName() 
 public Properties getTypeParameters() 
 public String getWhere() 
 public boolean hasFormula() 
 public boolean hasOrder() 
 public boolean hasOrphanDelete() 
 public boolean isAlternateUniqueKey() 
 public boolean isArray() 
 public boolean isCustomDeleteAllCallable() 
 public boolean isCustomDeleteCallable() 
 public boolean isCustomInsertCallable() 
 public boolean isCustomUpdateCallable() 
 public boolean isEmbedded() 
 public boolean isExtraLazy() 
 public boolean isIdentified() 
 public boolean isIndexed() 
 public boolean isInverse() 
 public boolean isLazy() 
 public boolean isMap() 
 public boolean isMutable() 
 public boolean isNullable() 
 public boolean isOneToMany() 
 public boolean isOptimisticLocked() 
 public boolean isPrimitiveArray() 
 public boolean isSet() 
 public boolean isSimpleValue() 
 public boolean isSorted() 
 public boolean isSubselectLoadable() 
 public boolean isValid(Mapping mapping) throws MappingException 
 public  void setBatchSize(int i) 
 public  void setCacheConcurrencyStrategy(String cacheConcurrencyStrategy) 
 public  void setCacheRegionName(String cacheRegionName) 
 public  void setCollectionPersisterClass(Class persister) 
 public  void setCollectionTable(Table table) 
 public  void setComparator(Comparator comparator) 
 public  void setComparatorClassName(String comparatorClassName) 
 public  void setCustomSQLDelete(String customSQLDelete,
    boolean callable,
    ExecuteUpdateResultCheckStyle checkStyle) 
 public  void setCustomSQLDeleteAll(String customSQLDeleteAll,
    boolean callable,
    ExecuteUpdateResultCheckStyle checkStyle) 
 public  void setCustomSQLInsert(String customSQLInsert,
    boolean callable,
    ExecuteUpdateResultCheckStyle checkStyle) 
 public  void setCustomSQLUpdate(String customSQLUpdate,
    boolean callable,
    ExecuteUpdateResultCheckStyle checkStyle) 
 public  void setElement(Value element) 
 public  void setElementNodeName(String elementNodeName) 
 public  void setEmbedded(boolean embedded) 
 public  void setExtraLazy(boolean extraLazy) 
 public  void setFetchMode(FetchMode fetchMode) 
 public  void setInverse(boolean inverse) 
 public  void setKey(KeyValue key) 
 public  void setLazy(boolean lazy) 
 public  void setLoaderName(String name) 
 public  void setManyToManyOrdering(String orderFragment) 
 public  void setManyToManyWhere(String manyToManyWhere) 
 public  void setMutable(boolean mutable) 
 public  void setNodeName(String nodeName) 
 public  void setOptimisticLocked(boolean optimisticLocked) 
 public  void setOrderBy(String orderBy) 
 public  void setOrphanDelete(boolean orphanDelete) 
 public  void setOwner(PersistentClass owner) 
 public  void setReferencedPropertyName(String propertyRef) 
 public  void setRole(String role) 
 public  void setSorted(boolean sorted) 
 public  void setSubselectLoadable(boolean subqueryLoadable) 
 public  void setTypeName(String typeName) 
 public  void setTypeParameters(Properties parameterMap) 
 public  void setTypeUsingReflection(String className,
    String propertyName) 
 public  void setWhere(String where) 
 public String toString() 
 public  void validate(Mapping mapping) throws MappingException