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
ConstructorsConstructorDescriptionPluralAttributeElementSourceBasicImpl(MappingDocument sourceMappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmBasicCollectionElementType jaxbElement) -
Method Summary
Modifier and TypeMethodDescriptionbooleanHow should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.booleanHow should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.booleanHow 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 containedRelationalValueSourcereferences.booleanIs 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:
getNaturein interfacePluralAttributeElementSource
-
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.
-
getExplicitHibernateTypeSource
- Specified by:
getExplicitHibernateTypeSourcein interfacePluralAttributeElementSourceBasic
-
getAttributePath
Description copied from interface:ImplicitBasicColumnNameSourceAccess to the AttributePath for the basic value- Specified by:
getAttributePathin interfaceImplicitBasicColumnNameSource- Returns:
- The AttributePath for the basic value
-
isCollectionElement
public boolean isCollectionElement()Description copied from interface:ImplicitBasicColumnNameSourceIs the basic column the "element column" for a collection?Historical handling for these in
hbm.xmlbinding was to simply name the column "elt".- Specified by:
isCollectionElementin interfaceImplicitBasicColumnNameSource- Returns:
trueif the column being named is the collection element column;falseotherwise.
-
getBuildingContext
Description copied from interface:ImplicitNameSourceAccess to the current building context.- Specified by:
getBuildingContextin interfaceImplicitNameSource- Returns:
- The building context
-