Class AbstractPluralAttributeSourceImpl
java.lang.Object
org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl
- All Implemented Interfaces:
Helper.InLineViewNameInferrer,AttributeSource,CascadeStyleSource,FetchableAttributeSource,PluralAttributeSource,ToolingHintContextContainer
- Direct Known Subclasses:
PluralAttributeSourceArrayImpl,PluralAttributeSourceBagImpl,PluralAttributeSourceIdBagImpl,PluralAttributeSourceListImpl,PluralAttributeSourceMapImpl,PluralAttributeSourcePrimitiveArrayImpl,PluralAttributeSourceSetImpl
public abstract class AbstractPluralAttributeSourceImpl
extends AbstractHbmSourceNode
implements PluralAttributeSource, Helper.InLineViewNameInferrer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPluralAttributeSourceImpl(MappingDocument mappingDocument, PluralAttributeInfo pluralAttributeJaxbMapping, AttributeSourceContainer container) -
Method Summary
Modifier and TypeMethodDescriptionprotected AttributeSourceContainerObtain the cascade styles to be applied to this association.getName()Obtain the attribute name.Obtain the name of the property accessor style used to access this attribute.String[]Obtain any additional table names on which to synchronize (auto flushing) this entity.Obtain information about the Hibernate type (Type) for this attribute.getWhere()booleanIf the containing entity is using optimistic locking, should this attribute participate in that locking? Meaning, should changes in the value of this attribute at runtime indicate that the entity is now dirty in terms of optimistic locking?booleanbooleanbooleanAttributes are (coarsely speaking) either singular or plural.booleanMethods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocumentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.model.source.spi.AttributeSource
getSourceType, getXmlNodeNameMethods inherited from interface org.hibernate.boot.model.source.spi.PluralAttributeSource
getNature
-
Constructor Details
-
AbstractPluralAttributeSourceImpl
protected AbstractPluralAttributeSourceImpl(MappingDocument mappingDocument, PluralAttributeInfo pluralAttributeJaxbMapping, AttributeSourceContainer container)
-
-
Method Details
-
getAttributePath
- Specified by:
getAttributePathin interfaceAttributeSource
-
getAttributeRole
- Specified by:
getAttributeRolein interfaceAttributeSource
-
usesJoinTable
public boolean usesJoinTable()- Specified by:
usesJoinTablein interfacePluralAttributeSource
-
container
-
getFilterSources
- Specified by:
getFilterSourcesin interfacePluralAttributeSource
-
getKeySource
- Specified by:
getKeySourcein interfacePluralAttributeSource
-
getElementSource
- Specified by:
getElementSourcein interfacePluralAttributeSource
-
getCascadeStyleName
Description copied from interface:CascadeStyleSourceObtain the cascade styles to be applied to this association.- Specified by:
getCascadeStyleNamein interfaceCascadeStyleSource- Returns:
- The cascade styles.
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfacePluralAttributeSource
-
getMappedBy
- Specified by:
getMappedByin interfacePluralAttributeSource
-
inferInLineViewName
- Specified by:
inferInLineViewNamein interfaceHelper.InLineViewNameInferrer
-
getCollectionIdSource
- Specified by:
getCollectionIdSourcein interfacePluralAttributeSource
-
getCollectionTableSpecificationSource
- Specified by:
getCollectionTableSpecificationSourcein interfacePluralAttributeSource
-
getCollectionTableComment
- Specified by:
getCollectionTableCommentin interfacePluralAttributeSource
-
getCollectionTableCheck
- Specified by:
getCollectionTableCheckin interfacePluralAttributeSource
-
getSynchronizedTableNames
Description copied from interface:PluralAttributeSourceObtain any additional table names on which to synchronize (auto flushing) this entity.- Specified by:
getSynchronizedTableNamesin interfacePluralAttributeSource- Returns:
- Additional synchronized table names or 0 sized String array, never return null.
-
getCaching
- Specified by:
getCachingin interfacePluralAttributeSource
-
getWhere
- Specified by:
getWherein interfacePluralAttributeSource
-
getName
Description copied from interface:AttributeSourceObtain the attribute name.- Specified by:
getNamein interfaceAttributeSource- Returns:
- The attribute name.
nullis NOT allowed!
-
isSingular
public boolean isSingular()Description copied from interface:AttributeSourceAttributes are (coarsely speaking) either singular or plural.- Specified by:
isSingularin interfaceAttributeSource- Returns:
trueindicates the attribute is singular (and therefore castable toSingularAttributeSource);falseindicates it is plural (and therefore castable toPluralAttributeSource).
-
getTypeInformation
Description copied from interface:AttributeSourceObtain information about the Hibernate type (Type) for this attribute.- Specified by:
getTypeInformationin interfaceAttributeSource- Returns:
- The Hibernate type information
-
getPropertyAccessorName
Description copied from interface:AttributeSourceObtain the name of the property accessor style used to access this attribute.- Specified by:
getPropertyAccessorNamein interfaceAttributeSource- Returns:
- The property accessor style for this attribute.
- See Also:
-
isIncludedInOptimisticLocking
public boolean isIncludedInOptimisticLocking()Description copied from interface:AttributeSourceIf the containing entity is using optimistic locking, should this attribute participate in that locking? Meaning, should changes in the value of this attribute at runtime indicate that the entity is now dirty in terms of optimistic locking?- Specified by:
isIncludedInOptimisticLockingin interfaceAttributeSource- Returns:
trueindicates it should be included;false, it should not.
-
isInverse
public boolean isInverse()- Specified by:
isInversein interfacePluralAttributeSource
-
getCustomPersisterClassName
- Specified by:
getCustomPersisterClassNamein interfacePluralAttributeSource
-
getCustomLoaderName
- Specified by:
getCustomLoaderNamein interfacePluralAttributeSource
-
getCustomSqlInsert
- Specified by:
getCustomSqlInsertin interfacePluralAttributeSource
-
getCustomSqlUpdate
- Specified by:
getCustomSqlUpdatein interfacePluralAttributeSource
-
getCustomSqlDelete
- Specified by:
getCustomSqlDeletein interfacePluralAttributeSource
-
getCustomSqlDeleteAll
- Specified by:
getCustomSqlDeleteAllin interfacePluralAttributeSource
-
getToolingHintContext
- Specified by:
getToolingHintContextin interfaceToolingHintContextContainer
-
getFetchCharacteristics
- Specified by:
getFetchCharacteristicsin interfaceFetchableAttributeSource- Specified by:
getFetchCharacteristicsin interfacePluralAttributeSource
-