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 TypeMethodDescriptionboolean
How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.boolean
How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.boolean
How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.int
getBase()
Hibernate allows specifying the base value to use when storing the index to the database.Obtain the containedRelationalValueSource
references.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:ColumnBindingDefaults
How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesIncludedInInsertByDefault
in interfaceColumnBindingDefaults
- Returns:
true
Indicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
areValuesIncludedInUpdateByDefault
public boolean areValuesIncludedInUpdateByDefault()Description copied from interface:ColumnBindingDefaults
How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesIncludedInUpdateByDefault
in interfaceColumnBindingDefaults
- Returns:
true
Indicates that updates are enabled by default for all value sources which do not explicitly specify.
-
areValuesNullableByDefault
public boolean areValuesNullableByDefault()Description copied from interface:ColumnBindingDefaults
How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.- Specified by:
areValuesNullableByDefault
in interfaceColumnBindingDefaults
- Returns:
true
Indicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
getBase
public int getBase()Description copied from interface:PluralAttributeSequentialIndexSource
Hibernate allows specifying the base value to use when storing the index to the database. This reports that "offset" value.- Specified by:
getBase
in interfacePluralAttributeSequentialIndexSource
- Returns:
- The index base value.
-
getNature
- Specified by:
getNature
in interfacePluralAttributeIndexSource
-
getTypeInformation
Description copied from interface:PluralAttributeIndexSource
Obtain information about the Hibernate index type (Type
) for this plural attribute index.- Specified by:
getTypeInformation
in interfacePluralAttributeIndexSource
- Returns:
- The Hibernate type information
-
getXmlNodeName
- Specified by:
getXmlNodeName
in interfacePluralAttributeIndexSource
-
getRelationalValueSources
Description copied from interface:RelationalValueSourceContainer
Obtain the containedRelationalValueSource
references.- Specified by:
getRelationalValueSources
in interfaceRelationalValueSourceContainer
- Returns:
- The contained
RelationalValueSource
references.
-