public class PluralAttributeElementSourceBasicImpl extends AbstractHbmSourceNode implements PluralAttributeElementSourceBasic, RelationalValueSourceContainer
Constructor and Description |
---|
PluralAttributeElementSourceBasicImpl(MappingDocument sourceMappingDocument,
PluralAttributeSource pluralAttributeSource,
JaxbHbmBasicCollectionElementType jaxbElement) |
Modifier and Type | Method and 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.
|
AttributePath |
getAttributePath()
Access to the AttributePath for the basic value
|
MetadataBuildingContext |
getBuildingContext()
Access to the current building context.
|
HibernateTypeSourceImpl |
getExplicitHibernateTypeSource() |
PluralAttributeElementNature |
getNature() |
List<RelationalValueSource> |
getRelationalValueSources()
Obtain the contained
RelationalValueSource references. |
boolean |
isCollectionElement()
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". |
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
public PluralAttributeElementSourceBasicImpl(MappingDocument sourceMappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmBasicCollectionElementType jaxbElement)
public PluralAttributeElementNature getNature()
getNature
in interface PluralAttributeElementSource
public List<RelationalValueSource> getRelationalValueSources()
RelationalValueSourceContainer
RelationalValueSource
references.getRelationalValueSources
in interface RelationalValueSourceContainer
RelationalValueSource
references.public boolean areValuesIncludedInInsertByDefault()
ColumnBindingDefaults
areValuesIncludedInInsertByDefault
in interface ColumnBindingDefaults
true
Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesIncludedInUpdateByDefault()
ColumnBindingDefaults
areValuesIncludedInUpdateByDefault
in interface ColumnBindingDefaults
true
Indicates that updates are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesNullableByDefault()
ColumnBindingDefaults
areValuesNullableByDefault
in interface ColumnBindingDefaults
true
Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public HibernateTypeSourceImpl getExplicitHibernateTypeSource()
getExplicitHibernateTypeSource
in interface PluralAttributeElementSourceBasic
public AttributePath getAttributePath()
ImplicitBasicColumnNameSource
getAttributePath
in interface ImplicitBasicColumnNameSource
public boolean isCollectionElement()
ImplicitBasicColumnNameSource
hbm.xml
binding was to simply
name the column "elt".isCollectionElement
in interface ImplicitBasicColumnNameSource
true
if the column being named is the collection element
column; false
otherwise.public MetadataBuildingContext getBuildingContext()
ImplicitNameSource
getBuildingContext
in interface ImplicitNameSource
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.