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 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.String
getExplicitForeignKeyName()
PluralAttributeMapKeySource.Nature
getMapKeyNature()
PluralAttributeIndexNature
getNature()
String
getReferencedEntityName()
List<RelationalValueSource>
getRelationalValueSources()
Obtain the containedRelationalValueSource
references.HibernateTypeSource
getTypeInformation()
Obtain information about the Hibernate index type (Type
) for this plural attribute index.String
getXmlNodeName()
boolean
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)?
-
-
-
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:
getReferencedEntityName
in interfacePluralAttributeMapKeyManyToManySource
-
getExplicitForeignKeyName
public String getExplicitForeignKeyName()
- Specified by:
getExplicitForeignKeyName
in interfacePluralAttributeMapKeyManyToManySource
-
getNature
public PluralAttributeIndexNature getNature()
- Specified by:
getNature
in interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSource 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
-
getMapKeyNature
public PluralAttributeMapKeySource.Nature getMapKeyNature()
- Specified by:
getMapKeyNature
in interfacePluralAttributeMapKeySource
-
isReferencedEntityAttribute
public boolean isReferencedEntityAttribute()
Description copied from interface:PluralAttributeMapKeySource
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 toPluralAttributeMapKeyManyToManySource
.- Specified by:
isReferencedEntityAttribute
in 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:RelationalValueSourceContainer
Obtain the containedRelationalValueSource
references.- Specified by:
getRelationalValueSources
in interfaceRelationalValueSourceContainer
- Returns:
- The contained
RelationalValueSource
references.
-
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.
-
-