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

public Class PluralAttributeMapKeyManyToManySourceImpl

extends Object
implements PluralAttributeMapKeyManyToManySource
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.PluralAttributeMapKeyManyToManySource, org.hibernate.boot.model.source.spi.RelationalValueSourceContainer, org.hibernate.boot.model.source.spi.ColumnBindingDefaults, org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource, org.hibernate.boot.model.source.spi.PluralAttributeIndexSource
Imports
java.util.List, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmIndexManyToManyType, .JaxbHbmMapKeyManyToManyType, org.hibernate.boot.model.source.spi.HibernateTypeSource, .PluralAttributeIndexNature, .PluralAttributeMapKeyManyToManySource, .RelationalValueSource, org.hibernate.internal.util.StringHelper

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final HibernateTypeSource
private final String
private final List<RelationalValueSource>

Constructor Summary

AccessConstructor and Description
public
PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, final JaxbHbmMapKeyManyToManyType jaxbMapKeyManyToManyMapping)

public
PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, final JaxbHbmIndexManyToManyType jaxbIndexManyToManyMapping)

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 String
public PluralAttributeMapKeySource.Nature
public PluralAttributeIndexNature
public String
public List<RelationalValueSource>
public HibernateTypeSource
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
public boolean
isReferencedEntityAttribute()

Implements org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource.isReferencedEntityAttribute.

Is this plural attribute index source for an attribute of the referenced entity (relevant only for one-to-many and many-to-many associations)?
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fkNameback to summary
private final String fkName
hibernateTypeSourceback to summary
private final HibernateTypeSource hibernateTypeSource
referencedEntityNameback to summary
private final String referencedEntityName
relationalValueSourcesback to summary
private final List<RelationalValueSource> relationalValueSources

Constructor Detail

PluralAttributeMapKeyManyToManySourceImplback to summary
public PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, final JaxbHbmMapKeyManyToManyType jaxbMapKeyManyToManyMapping)
PluralAttributeMapKeyManyToManySourceImplback to summary
public PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, final JaxbHbmIndexManyToManyType jaxbIndexManyToManyMapping)

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
getExplicitForeignKeyNameback to summary
public String getExplicitForeignKeyName()

Implements org.hibernate.boot.model.source.spi.PluralAttributeMapKeyManyToManySource.getExplicitForeignKeyName.

Annotations
@Override
getMapKeyNatureback to summary
public PluralAttributeMapKeySource.Nature getMapKeyNature()

Implements org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource.getMapKeyNature.

Annotations
@Override
getNatureback to summary
public PluralAttributeIndexNature getNature()

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

Annotations
@Override
getReferencedEntityNameback to summary
public String getReferencedEntityName()

Implements org.hibernate.boot.model.source.spi.PluralAttributeMapKeyManyToManySource.getReferencedEntityName.

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 HibernateTypeSource 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:HibernateTypeSource

The Hibernate type information

Annotations
@Override
getXmlNodeNameback to summary
public String getXmlNodeName()

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

Annotations
@Override
isReferencedEntityAttributeback to summary
public boolean isReferencedEntityAttribute()

Implements org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource.isReferencedEntityAttribute.

Doc from org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource.isReferencedEntityAttribute.

Is this plural attribute index source for an attribute of the referenced entity (relevant only for one-to-many and many-to-many associations)? If this method returns true, then this object can safely be cast to PluralAttributeMapKeySourceEntityAttribute.

Returns:boolean

true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.

Annotations
@Override