Class PluralAttributeMapKeyManyToManySourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.PluralAttributeMapKeyManyToManySourceImpl
-
- All Implemented Interfaces:
ColumnBindingDefaults,PluralAttributeIndexSource,PluralAttributeMapKeyManyToManySource,PluralAttributeMapKeySource,RelationalValueSourceContainer
public class PluralAttributeMapKeyManyToManySourceImpl extends Object implements PluralAttributeMapKeyManyToManySource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource
PluralAttributeMapKeySource.Nature
-
-
Constructor Summary
Constructors Constructor Description PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, JaxbHbmIndexManyToManyType jaxbIndexManyToManyMapping)PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, JaxbHbmMapKeyManyToManyType jaxbMapKeyManyToManyMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareValuesIncludedInInsertByDefault()How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesIncludedInUpdateByDefault()How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesNullableByDefault()How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.StringgetExplicitForeignKeyName()PluralAttributeMapKeySource.NaturegetMapKeyNature()PluralAttributeIndexNaturegetNature()StringgetReferencedEntityName()List<RelationalValueSource>getRelationalValueSources()Obtain the containedRelationalValueSourcereferences.HibernateTypeSourcegetTypeInformation()Obtain information about the Hibernate index type (Type) for this plural attribute index.StringgetXmlNodeName()booleanisReferencedEntityAttribute()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 returnstrue, then this object can safely be cast toPluralAttributeMapKeySourceEntityAttribute.
-
-
-
Constructor Detail
-
PluralAttributeMapKeyManyToManySourceImpl
public PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, JaxbHbmMapKeyManyToManyType jaxbMapKeyManyToManyMapping)
-
PluralAttributeMapKeyManyToManySourceImpl
public PluralAttributeMapKeyManyToManySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSourceMap, JaxbHbmIndexManyToManyType jaxbIndexManyToManyMapping)
-
-
Method Detail
-
getReferencedEntityName
public String getReferencedEntityName()
- Specified by:
getReferencedEntityNamein interfacePluralAttributeMapKeyManyToManySource
-
getExplicitForeignKeyName
public String getExplicitForeignKeyName()
- Specified by:
getExplicitForeignKeyNamein interfacePluralAttributeMapKeyManyToManySource
-
getNature
public PluralAttributeIndexNature getNature()
- Specified by:
getNaturein interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSource 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
public String getXmlNodeName()
- Specified by:
getXmlNodeNamein interfacePluralAttributeIndexSource
-
getMapKeyNature
public PluralAttributeMapKeySource.Nature getMapKeyNature()
- Specified by:
getMapKeyNaturein interfacePluralAttributeMapKeySource
-
isReferencedEntityAttribute
public boolean isReferencedEntityAttribute()
Description copied from interface:PluralAttributeMapKeySourceIs 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 returnstrue, then this object can safely be cast toPluralAttributeMapKeySourceEntityAttribute.- Specified by:
isReferencedEntityAttributein interfacePluralAttributeMapKeySource- Returns:
- true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
-
getRelationalValueSources
public List<RelationalValueSource> getRelationalValueSources()
Description copied from interface:RelationalValueSourceContainerObtain the containedRelationalValueSourcereferences.- Specified by:
getRelationalValueSourcesin interfaceRelationalValueSourceContainer- Returns:
- The contained
RelationalValueSourcereferences.
-
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.
-
-