Top Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public abstract Class AbstractPluralAttributeSourceImpl

extends AbstractHbmSourceNode
implements PluralAttributeSource, InLineViewNameInferrer
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.internal.hbm.Helper.InLineViewNameInferrer, org.hibernate.boot.model.source.spi.PluralAttributeSource, org.hibernate.boot.model.source.spi.CascadeStyleSource, org.hibernate.boot.model.source.spi.FetchableAttributeSource, org.hibernate.boot.model.source.spi.AttributeSource, org.hibernate.boot.model.source.spi.ToolingHintContextContainer
Known Direct Subclasses
org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceArrayImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceBagImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceIdBagImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceListImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceMapImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourcePrimitiveArrayImpl, org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceSetImpl
Imports
java.io.Serializable, java.util.ArrayList, .List, .Optional, org.hibernate.AssertionFailure, org.hibernate.boot.MappingException, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmColumnType, .JaxbHbmFilterType, .JaxbHbmManyToOneType, .JaxbHbmRootEntityType, .JaxbHbmSynchronizeType, .PluralAttributeInfo, org.hibernate.boot.model.Caching, .CustomSql, org.hibernate.boot.model.source.spi.AttributePath, .AttributeRole, .AttributeSourceContainer, .CollectionIdSource, .FetchCharacteristicsPluralAttribute, .FilterSource, .HibernateTypeSource, .PluralAttributeElementSource, .PluralAttributeKeySource, .PluralAttributeSource, .TableSpecificationSource, .ToolingHintContext, org.hibernate.cfg.NotYetImplementedException

Authors
Steve Ebersole, Brett Meyer

Field Summary

Modifier and TypeField and Description
private final AttributePath
private final AttributeRole
private final Caching
private final AttributeSourceContainer
private final PluralAttributeElementSource
private final FetchCharacteristicsPluralAttributeImpl
private final FilterSource[]
private final PluralAttributeKeySource
private static final FilterSource[]
private final PluralAttributeInfo
private final String[]
private final ToolingHintContext
private final HibernateTypeSource

Constructor Summary

AccessConstructor and Description
protected
AbstractPluralAttributeSourceImpl(MappingDocument mappingDocument, final PluralAttributeInfo pluralAttributeJaxbMapping, AttributeSourceContainer container)

Method Summary

Modifier and TypeMethod and Description
private static FilterSource[]
buildFilterSources(MappingDocument mappingDocument, PluralAttributeInfo pluralAttributeElement)

protected AttributeSourceContainer
private static String[]
public AttributePath
public AttributeRole
public Caching
public String
getCascadeStyleName()

Implements org.hibernate.boot.model.source.spi.CascadeStyleSource.getCascadeStyleName.

Obtain the cascade styles to be applied to this association.
public CollectionIdSource
public String
public String
public TableSpecificationSource
public String
public String
public CustomSql
public CustomSql
public CustomSql
public CustomSql
public PluralAttributeElementSource
public FetchCharacteristicsPluralAttribute
public FilterSource[]
public PluralAttributeKeySource
public String
public String
public String
getPropertyAccessorName()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getPropertyAccessorName.

Obtain the name of the property accessor style used to access this attribute.
public String[]
getSynchronizedTableNames()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getSynchronizedTableNames.

Obtain any additional table names on which to synchronize (auto flushing) this entity.
public ToolingHintContext
public HibernateTypeSource
getTypeInformation()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getTypeInformation.

Obtain information about the Hibernate type (org.hibernate.type.Type) for this attribute.
public String
public String
private PluralAttributeElementSource
public boolean
isIncludedInOptimisticLocking()

Implements org.hibernate.boot.model.source.spi.AttributeSource.isIncludedInOptimisticLocking.

If the containing entity is using optimistic locking, should this attribute participate in that locking?
public boolean
public boolean
public boolean
isSingular()

Implements org.hibernate.boot.model.source.spi.AttributeSource.isSingular.

Attributes are (coarsely speaking) either singular or plural.
public boolean
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode:
mappingRootmetadataBuildingContextoriginsourceMappingDocument

Field Detail

attributePathback to summary
private final AttributePath attributePath
attributeRoleback to summary
private final AttributeRole attributeRole
cachingback to summary
private final Caching caching
containerback to summary
private final AttributeSourceContainer container
elementSourceback to summary
private final PluralAttributeElementSource elementSource
fetchCharacteristicsback to summary
private final FetchCharacteristicsPluralAttributeImpl fetchCharacteristics
filterSourcesback to summary
private final FilterSource[] filterSources
keySourceback to summary
private final PluralAttributeKeySource keySource
NO_FILTER_SOURCESback to summary
private static final FilterSource[] NO_FILTER_SOURCES
pluralAttributeJaxbMappingback to summary
private final PluralAttributeInfo pluralAttributeJaxbMapping
synchronizedTableNamesback to summary
private final String[] synchronizedTableNames
toolingHintContextback to summary
private final ToolingHintContext toolingHintContext
typeInformationback to summary
private final HibernateTypeSource typeInformation

Constructor Detail

AbstractPluralAttributeSourceImplback to summary
protected AbstractPluralAttributeSourceImpl(MappingDocument mappingDocument, final PluralAttributeInfo pluralAttributeJaxbMapping, AttributeSourceContainer container)

Method Detail

buildFilterSourcesback to summary
private static FilterSource[] buildFilterSources(MappingDocument mappingDocument, PluralAttributeInfo pluralAttributeElement)
containerback to summary
protected AttributeSourceContainer container()
extractSynchronizedTableNamesback to summary
private static String[] extractSynchronizedTableNames(PluralAttributeInfo pluralAttributeElement)
getAttributePathback to summary
public AttributePath getAttributePath()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getAttributePath.

Annotations
@Override
getAttributeRoleback to summary
public AttributeRole getAttributeRole()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getAttributeRole.

Annotations
@Override
getCachingback to summary
public Caching getCaching()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCaching.

Annotations
@Override
getCascadeStyleNameback to summary
public String getCascadeStyleName()

Implements org.hibernate.boot.model.source.spi.CascadeStyleSource.getCascadeStyleName.

Doc from org.hibernate.boot.model.source.spi.CascadeStyleSource.getCascadeStyleName.

Obtain the cascade styles to be applied to this association.

Returns:String

The cascade styles.

Annotations
@Override
getCollectionIdSourceback to summary
public CollectionIdSource getCollectionIdSource()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCollectionIdSource.

Annotations
@Override
getCollectionTableCheckback to summary
public String getCollectionTableCheck()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCollectionTableCheck.

Annotations
@Override
getCollectionTableCommentback to summary
public String getCollectionTableComment()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCollectionTableComment.

Annotations
@Override
getCollectionTableSpecificationSourceback to summary
public TableSpecificationSource getCollectionTableSpecificationSource()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCollectionTableSpecificationSource.

Annotations
@Override
getCustomLoaderNameback to summary
public String getCustomLoaderName()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomLoaderName.

Annotations
@Override
getCustomPersisterClassNameback to summary
public String getCustomPersisterClassName()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomPersisterClassName.

Annotations
@Override
getCustomSqlDeleteback to summary
public CustomSql getCustomSqlDelete()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomSqlDelete.

Annotations
@Override
getCustomSqlDeleteAllback to summary
public CustomSql getCustomSqlDeleteAll()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomSqlDeleteAll.

Annotations
@Override
getCustomSqlInsertback to summary
public CustomSql getCustomSqlInsert()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomSqlInsert.

Annotations
@Override
getCustomSqlUpdateback to summary
public CustomSql getCustomSqlUpdate()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getCustomSqlUpdate.

Annotations
@Override
getElementSourceback to summary
public PluralAttributeElementSource getElementSource()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getElementSource.

Annotations
@Override
getFetchCharacteristicsback to summary
public FetchCharacteristicsPluralAttribute getFetchCharacteristics()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getFetchCharacteristics.

Annotations
@Override
getFilterSourcesback to summary
public FilterSource[] getFilterSources()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getFilterSources.

Annotations
@Override
getKeySourceback to summary
public PluralAttributeKeySource getKeySource()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getKeySource.

Annotations
@Override
getMappedByback to summary
public String getMappedBy()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getMappedBy.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getName.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.getName.

Obtain the attribute name.

Returns:String

The attribute name. null is NOT allowed!

Annotations
@Override
getPropertyAccessorNameback to summary
public String getPropertyAccessorName()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getPropertyAccessorName.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.getPropertyAccessorName.

Obtain the name of the property accessor style used to access this attribute.

Returns:String

The property accessor style for this attribute.

Annotations
@Override
getSynchronizedTableNamesback to summary
public String[] getSynchronizedTableNames()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getSynchronizedTableNames.

Doc from org.hibernate.boot.model.source.spi.PluralAttributeSource.getSynchronizedTableNames.

Obtain any additional table names on which to synchronize (auto flushing) this entity.

Returns:String[]

Additional synchronized table names or 0 sized String array, never return null.

Annotations
@Override
getToolingHintContextback to summary
public ToolingHintContext getToolingHintContext()

Implements org.hibernate.boot.model.source.spi.ToolingHintContextContainer.getToolingHintContext.

Annotations
@Override
getTypeInformationback to summary
public HibernateTypeSource getTypeInformation()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getTypeInformation.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.getTypeInformation.

Obtain information about the Hibernate type (org.hibernate.type.Type) for this attribute.

Returns:HibernateTypeSource

The Hibernate type information

Annotations
@Override
getWhereback to summary
public String getWhere()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getWhere.

Annotations
@Override
inferInLineViewNameback to summary
public String inferInLineViewName()

Implements org.hibernate.boot.model.source.internal.hbm.Helper.InLineViewNameInferrer.inferInLineViewName.

Annotations
@Override
interpretElementTypeback to summary
private PluralAttributeElementSource interpretElementType()
isIncludedInOptimisticLockingback to summary
public boolean isIncludedInOptimisticLocking()

Implements org.hibernate.boot.model.source.spi.AttributeSource.isIncludedInOptimisticLocking.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.isIncludedInOptimisticLocking.

If 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?

Returns:boolean

true indicates it should be included; false, it should not.

Annotations
@Override
isInverseback to summary
public boolean isInverse()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.isInverse.

Annotations
@Override
isMutableback to summary
public boolean isMutable()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.isMutable.

Annotations
@Override
isSingularback to summary
public boolean isSingular()

Implements org.hibernate.boot.model.source.spi.AttributeSource.isSingular.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.isSingular.

Attributes are (coarsely speaking) either singular or plural.

Returns:boolean

true indicates the attribute is singular (and therefore castable to SingularAttributeSource); false indicates it is plural (and therefore castable to PluralAttributeSource).

Annotations
@Override
usesJoinTableback to summary
public boolean usesJoinTable()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.usesJoinTable.

Annotations
@Override