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 boolean
areValuesIncludedInInsertByDefault()
How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.boolean
areValuesIncludedInUpdateByDefault()
How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.boolean
areValuesNullableByDefault()
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.PluralAttributeIndexNature
getNature()
List<RelationalValueSource>
getRelationalValueSources()
Obtain the containedRelationalValueSource
references.HibernateTypeSourceImpl
getTypeInformation()
Obtain information about the Hibernate index type (Type
) for this plural attribute index.String
getXmlNodeName()
-
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: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
public PluralAttributeIndexNature getNature()
- Specified by:
getNature
in interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSourceImpl 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
public String getXmlNodeName()
- Specified by:
getXmlNodeName
in interfacePluralAttributeIndexSource
-
getRelationalValueSources
public List<RelationalValueSource> getRelationalValueSources()
Description copied from interface:RelationalValueSourceContainer
Obtain the containedRelationalValueSource
references.- Specified by:
getRelationalValueSources
in interfaceRelationalValueSourceContainer
- Returns:
- The contained
RelationalValueSource
references.
-
-