Class PluralAttributeSequentialIndexSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.PluralAttributeSequentialIndexSourceImpl
-
- All Implemented Interfaces:
ColumnBindingDefaults,PluralAttributeIndexSource,PluralAttributeSequentialIndexSource,RelationalValueSourceContainer
public class PluralAttributeSequentialIndexSourceImpl extends AbstractHbmSourceNode implements PluralAttributeSequentialIndexSource
-
-
Constructor Summary
Constructors Constructor Description PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmIndexType jaxbIndex)PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmListIndexType jaxbListIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareValuesIncludedInInsertByDefault()How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesIncludedInUpdateByDefault()How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesNullableByDefault()How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.intgetBase()Hibernate allows specifying the base value to use when storing the index to the database.PluralAttributeIndexNaturegetNature()List<RelationalValueSource>getRelationalValueSources()Obtain the containedRelationalValueSourcereferences.HibernateTypeSourceImplgetTypeInformation()Obtain information about the Hibernate index type (Type) for this plural attribute index.StringgetXmlNodeName()-
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
Constructor Detail
-
PluralAttributeSequentialIndexSourceImpl
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmListIndexType jaxbListIndex)
-
PluralAttributeSequentialIndexSourceImpl
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmIndexType jaxbIndex)
-
-
Method Detail
-
areValuesIncludedInInsertByDefault
public boolean areValuesIncludedInInsertByDefault()
Description copied from interface:ColumnBindingDefaultsHow should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesIncludedInInsertByDefaultin interfaceColumnBindingDefaults- Returns:
trueIndicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
areValuesIncludedInUpdateByDefault
public boolean areValuesIncludedInUpdateByDefault()
Description copied from interface:ColumnBindingDefaultsHow should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesIncludedInUpdateByDefaultin interfaceColumnBindingDefaults- Returns:
trueIndicates that updates are enabled by default for all value sources which do not explicitly specify.
-
areValuesNullableByDefault
public boolean areValuesNullableByDefault()
Description copied from interface:ColumnBindingDefaultsHow should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesNullableByDefaultin interfaceColumnBindingDefaults- Returns:
trueIndicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
getBase
public int getBase()
Description copied from interface:PluralAttributeSequentialIndexSourceHibernate allows specifying the base value to use when storing the index to the database. This reports that "offset" value.- Specified by:
getBasein interfacePluralAttributeSequentialIndexSource- Returns:
- The index base value.
-
getNature
public PluralAttributeIndexNature getNature()
- Specified by:
getNaturein interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSourceImpl getTypeInformation()
Description copied from interface:PluralAttributeIndexSourceObtain information about the Hibernate index type (Type) for this plural attribute index.- Specified by:
getTypeInformationin interfacePluralAttributeIndexSource- Returns:
- The Hibernate type information
-
getXmlNodeName
public String getXmlNodeName()
- Specified by:
getXmlNodeNamein interfacePluralAttributeIndexSource
-
getRelationalValueSources
public List<RelationalValueSource> getRelationalValueSources()
Description copied from interface:RelationalValueSourceContainerObtain the containedRelationalValueSourcereferences.- Specified by:
getRelationalValueSourcesin interfaceRelationalValueSourceContainer- Returns:
- The contained
RelationalValueSourcereferences.
-
-