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

public Class PluralAttributeSequentialIndexSourceImpl

extends AbstractHbmSourceNode
implements PluralAttributeSequentialIndexSource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.PluralAttributeSequentialIndexSource, org.hibernate.boot.model.source.spi.RelationalValueSourceContainer, org.hibernate.boot.model.source.spi.ColumnBindingDefaults, org.hibernate.boot.model.source.spi.PluralAttributeIndexSource
Imports
java.util.Collections, .List, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmColumnType, .JaxbHbmIndexType, .JaxbHbmListIndexType, org.hibernate.boot.model.source.spi.PluralAttributeIndexNature, .PluralAttributeSequentialIndexSource, .RelationalValueSource, .SizeSource, org.hibernate.internal.util.StringHelper

Field Summary

Modifier and TypeField and Description
private final int
private final HibernateTypeSourceImpl
private final List<RelationalValueSource>
private final String

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public boolean
areValuesIncludedInInsertByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInInsertByDefault.

How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.
public boolean
areValuesIncludedInUpdateByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInUpdateByDefault.

How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.
public boolean
areValuesNullableByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesNullableByDefault.

How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.
public int
getBase()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSequentialIndexSource.getBase.

Hibernate allows specifying the base value to use when storing the index to the database.
public PluralAttributeIndexNature
public List<RelationalValueSource>
public HibernateTypeSourceImpl
getTypeInformation()

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

Obtain information about the Hibernate index type (org.hibernate.type.Type) for this plural attribute index.
public String
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode:
mappingRootmetadataBuildingContextoriginsourceMappingDocument

Field Detail

baseback to summary
private final int base
typeSourceback to summary
private final HibernateTypeSourceImpl typeSource
valueSourcesback to summary
private final List<RelationalValueSource> valueSources
xmlNodeNameback to summary
private final String xmlNodeName

Constructor Detail

PluralAttributeSequentialIndexSourceImplback to summary
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, final JaxbHbmListIndexType jaxbListIndex)
PluralAttributeSequentialIndexSourceImplback to summary
public PluralAttributeSequentialIndexSourceImpl(MappingDocument sourceMappingDocument, final JaxbHbmIndexType jaxbIndex)

Method Detail

areValuesIncludedInInsertByDefaultback to summary
public boolean areValuesIncludedInInsertByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInInsertByDefault.

Doc from org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInInsertByDefault.

How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.

Returns:boolean

true Indicates that insertions are enabled by default for all value sources which do not explicitly specify.

Annotations
@Override
areValuesIncludedInUpdateByDefaultback to summary
public boolean areValuesIncludedInUpdateByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInUpdateByDefault.

Doc from org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesIncludedInUpdateByDefault.

How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.

Returns:boolean

true Indicates that updates are enabled by default for all value sources which do not explicitly specify.

Annotations
@Override
areValuesNullableByDefaultback to summary
public boolean areValuesNullableByDefault()

Implements org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesNullableByDefault.

Doc from org.hibernate.boot.model.source.spi.ColumnBindingDefaults.areValuesNullableByDefault.

How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.

Returns:boolean

true Indicates that insertions are enabled by default for all value sources which do not explicitly specify.

Annotations
@Override
getBaseback to summary
public int getBase()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSequentialIndexSource.getBase.

Doc from org.hibernate.boot.model.source.spi.PluralAttributeSequentialIndexSource.getBase.

Hibernate allows specifying the base value to use when storing the index to the database. This reports that "offset" value.

Returns:int

The index base value.

Annotations
@Override
getNatureback to summary
public PluralAttributeIndexNature getNature()

Implements org.hibernate.boot.model.source.spi.PluralAttributeIndexSource.getNature.

Annotations
@Override
getRelationalValueSourcesback to summary
public List<RelationalValueSource> getRelationalValueSources()

Implements org.hibernate.boot.model.source.spi.RelationalValueSourceContainer.getRelationalValueSources.

Doc from org.hibernate.boot.model.source.spi.RelationalValueSourceContainer.getRelationalValueSources.

Obtain the contained RelationalValueSource references.

Returns:List<RelationalValueSource>

The contained RelationalValueSource references.

Annotations
@Override
getTypeInformationback to summary
public HibernateTypeSourceImpl getTypeInformation()

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

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

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

Returns:HibernateTypeSourceImpl

The Hibernate type information

Annotations
@Override
getXmlNodeNameback to summary
public String getXmlNodeName()

Implements org.hibernate.boot.model.source.spi.PluralAttributeIndexSource.getXmlNodeName.

Annotations
@Override