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
ConstructorsConstructorDescriptionPluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmIndexType jaxbIndex) PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmListIndexType jaxbListIndex) -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.booleanHow should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.booleanHow 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.Obtain the containedRelationalValueSourcereferences.Obtain information about the Hibernate index type (Type) for this plural attribute index.Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
Constructor Details
-
PluralAttributeSequentialIndexSourceImpl
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmListIndexType jaxbListIndex) -
PluralAttributeSequentialIndexSourceImpl
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, JaxbHbmIndexType jaxbIndex)
-
-
Method Details
-
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
- Specified by:
getNaturein interfacePluralAttributeIndexSource
-
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
- Specified by:
getXmlNodeNamein interfacePluralAttributeIndexSource
-
getRelationalValueSources
Description copied from interface:RelationalValueSourceContainerObtain the containedRelationalValueSourcereferences.- Specified by:
getRelationalValueSourcesin interfaceRelationalValueSourceContainer- Returns:
- The contained
RelationalValueSourcereferences.
-