public abstract class AbstractPluralAttributeBinding extends AbstractAttributeBinding implements PluralAttributeBinding
Modifier | Constructor and Description |
---|---|
protected |
AbstractPluralAttributeBinding(AttributeBindingContainer container,
PluralAttribute attribute,
CollectionElementNature collectionElementNature) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(java.lang.String name,
java.lang.String condition) |
PluralAttribute |
getAttribute()
Obtain the attribute bound.
|
int |
getBatchSize() |
Caching |
getCaching() |
CascadeStyle |
getCascadeStyle()
Obtain the cascade style in effect for this association.
|
AbstractCollectionElement |
getCollectionElement() |
CollectionKey |
getCollectionKey() |
java.lang.Class<? extends CollectionPersister> |
getCollectionPersisterClass() |
TableSpecification |
getCollectionTable() |
java.util.Comparator |
getComparator() |
java.lang.String |
getComparatorClassName() |
java.lang.String |
getCustomLoaderName() |
CustomSQL |
getCustomSqlDelete() |
CustomSQL |
getCustomSqlDeleteAll() |
CustomSQL |
getCustomSqlInsert() |
CustomSQL |
getCustomSqlUpdate() |
FetchMode |
getFetchMode()
Temporary.
|
FetchStyle |
getFetchStyle() |
FetchTiming |
getFetchTiming() |
java.util.Map |
getFilterMap() |
java.lang.String |
getOrderBy() |
java.lang.String |
getReferencedPropertyName() |
java.lang.String |
getWhere() |
boolean |
isAssociation() |
boolean |
isInverse() |
boolean |
isMutable() |
boolean |
isOrphanDelete() |
boolean |
isSorted() |
void |
setBatchSize(int batchSize) |
void |
setCaching(Caching caching) |
void |
setCascadeStyles(java.lang.Iterable<CascadeStyle> cascadeStyles)
Set the cascade styles in effect for this association.
|
void |
setCollectionPersisterClass(java.lang.Class<? extends CollectionPersister> collectionPersisterClass) |
void |
setCollectionTable(Table collectionTable) |
void |
setComparator(java.util.Comparator comparator) |
void |
setCustomLoaderName(java.lang.String customLoaderName) |
void |
setCustomSqlDelete(CustomSQL customSqlDelete) |
void |
setCustomSqlDeleteAll(CustomSQL customSqlDeleteAll) |
void |
setCustomSqlInsert(CustomSQL customSqlInsert) |
void |
setCustomSqlUpdate(CustomSQL customSqlUpdate) |
void |
setFetchStyle(FetchStyle fetchStyle) |
void |
setFetchTiming(FetchTiming fetchTiming) |
void |
setInverse(boolean inverse) |
void |
setMutable(boolean mutable) |
void |
setOrderBy(java.lang.String orderBy) |
void |
setWhere(java.lang.String where) |
addEntityReferencingAttributeBinding, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setAlternateUniqueKey, setIncludedInOptimisticLocking, setLazy, setMetaAttributeContext, setPropertyAccessorName, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addEntityReferencingAttributeBinding, getContainer, getEntityReferencingAttributeBindings, getHibernateTypeDescriptor, getMetaAttributeContext, getPropertyAccessorName, isAlternateUniqueKey, isBasicPropertyAccessor, isIncludedInOptimisticLocking, isLazy, setIncludedInOptimisticLocking, setPropertyAccessorName, validate
protected AbstractPluralAttributeBinding(AttributeBindingContainer container, PluralAttribute attribute, CollectionElementNature collectionElementNature)
public PluralAttribute getAttribute()
AttributeBinding
getAttribute
in interface AttributeBinding
getAttribute
in interface PluralAttributeBinding
getAttribute
in class AbstractAttributeBinding
public boolean isAssociation()
isAssociation
in interface AttributeBinding
public TableSpecification getCollectionTable()
getCollectionTable
in interface PluralAttributeBinding
public void setCollectionTable(Table collectionTable)
public CollectionKey getCollectionKey()
getCollectionKey
in interface PluralAttributeBinding
public AbstractCollectionElement getCollectionElement()
getCollectionElement
in interface PluralAttributeBinding
public CascadeStyle getCascadeStyle()
AssociationAttributeBinding
getCascadeStyle
in interface AssociationAttributeBinding
public void setCascadeStyles(java.lang.Iterable<CascadeStyle> cascadeStyles)
AssociationAttributeBinding
setCascadeStyles
in interface AssociationAttributeBinding
cascadeStyles
- The cascade styles.public boolean isOrphanDelete()
isOrphanDelete
in interface PluralAttributeBinding
public FetchMode getFetchMode()
AssociationAttributeBinding
getFetchMode
in interface AssociationAttributeBinding
public FetchTiming getFetchTiming()
getFetchTiming
in interface AssociationAttributeBinding
public void setFetchTiming(FetchTiming fetchTiming)
setFetchTiming
in interface AssociationAttributeBinding
public FetchStyle getFetchStyle()
getFetchStyle
in interface AssociationAttributeBinding
public void setFetchStyle(FetchStyle fetchStyle)
setFetchStyle
in interface AssociationAttributeBinding
public java.lang.String getCustomLoaderName()
getCustomLoaderName
in interface PluralAttributeBinding
public void setCustomLoaderName(java.lang.String customLoaderName)
public CustomSQL getCustomSqlInsert()
getCustomSqlInsert
in interface PluralAttributeBinding
public void setCustomSqlInsert(CustomSQL customSqlInsert)
public CustomSQL getCustomSqlUpdate()
getCustomSqlUpdate
in interface PluralAttributeBinding
public void setCustomSqlUpdate(CustomSQL customSqlUpdate)
public CustomSQL getCustomSqlDelete()
getCustomSqlDelete
in interface PluralAttributeBinding
public void setCustomSqlDelete(CustomSQL customSqlDelete)
public CustomSQL getCustomSqlDeleteAll()
getCustomSqlDeleteAll
in interface PluralAttributeBinding
public void setCustomSqlDeleteAll(CustomSQL customSqlDeleteAll)
public java.lang.Class<? extends CollectionPersister> getCollectionPersisterClass()
getCollectionPersisterClass
in interface PluralAttributeBinding
public void setCollectionPersisterClass(java.lang.Class<? extends CollectionPersister> collectionPersisterClass)
public Caching getCaching()
getCaching
in interface PluralAttributeBinding
public void setCaching(Caching caching)
public java.lang.String getOrderBy()
getOrderBy
in interface PluralAttributeBinding
public void setOrderBy(java.lang.String orderBy)
public java.lang.String getWhere()
getWhere
in interface PluralAttributeBinding
public void setWhere(java.lang.String where)
public boolean isInverse()
isInverse
in interface PluralAttributeBinding
public void setInverse(boolean inverse)
public boolean isMutable()
isMutable
in interface PluralAttributeBinding
public void setMutable(boolean mutable)
public int getBatchSize()
getBatchSize
in interface PluralAttributeBinding
public void setBatchSize(int batchSize)
public java.lang.String getReferencedPropertyName()
public boolean isSorted()
isSorted
in interface PluralAttributeBinding
public java.util.Comparator getComparator()
getComparator
in interface PluralAttributeBinding
public void setComparator(java.util.Comparator comparator)
public java.lang.String getComparatorClassName()
public void addFilter(java.lang.String name, java.lang.String condition)
public java.util.Map getFilterMap()
getFilterMap
in interface PluralAttributeBinding
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.