Class PluralAttributeElementSourceBasicImpl
java.lang.Object
org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
org.hibernate.boot.model.source.internal.hbm.PluralAttributeElementSourceBasicImpl
- All Implemented Interfaces:
ImplicitBasicColumnNameSource
,ImplicitNameSource
,ColumnBindingDefaults
,PluralAttributeElementSource
,PluralAttributeElementSourceBasic
,RelationalValueSourceContainer
public class PluralAttributeElementSourceBasicImpl
extends AbstractHbmSourceNode
implements PluralAttributeElementSourceBasic, RelationalValueSourceContainer
-
Constructor Summary
ConstructorDescriptionPluralAttributeElementSourceBasicImpl
(MappingDocument sourceMappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmBasicCollectionElementType jaxbElement) -
Method Summary
Modifier and TypeMethodDescriptionboolean
How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.boolean
How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.boolean
How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.Access to the AttributePath for the basic valueAccess to the current building context.Obtain the containedRelationalValueSource
references.boolean
Is the basic column the "element column" for a collection?Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
Constructor Details
-
PluralAttributeElementSourceBasicImpl
public PluralAttributeElementSourceBasicImpl(MappingDocument sourceMappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmBasicCollectionElementType jaxbElement)
-
-
Method Details
-
getNature
- Specified by:
getNature
in interfacePluralAttributeElementSource
-
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.
-
getExplicitHibernateTypeSource
- Specified by:
getExplicitHibernateTypeSource
in interfacePluralAttributeElementSourceBasic
-
getAttributePath
Description copied from interface:ImplicitBasicColumnNameSource
Access to the AttributePath for the basic value- Specified by:
getAttributePath
in interfaceImplicitBasicColumnNameSource
- Returns:
- The AttributePath for the basic value
-
isCollectionElement
public boolean isCollectionElement()Description copied from interface:ImplicitBasicColumnNameSource
Is the basic column the "element column" for a collection?Historical handling for these in
hbm.xml
binding was to simply name the column "elt".- Specified by:
isCollectionElement
in interfaceImplicitBasicColumnNameSource
- Returns:
true
if the column being named is the collection element column;false
otherwise.
-
getBuildingContext
Description copied from interface:ImplicitNameSource
Access to the current building context.- Specified by:
getBuildingContext
in interfaceImplicitNameSource
- Returns:
- The building context
-