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() |
java.util.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, sourceMappingDocumentpublic PluralAttributeElementSourceBasicImpl(MappingDocument sourceMappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmBasicCollectionElementType jaxbElement)
public PluralAttributeElementNature getNature()
getNature in interface PluralAttributeElementSourcepublic java.util.List<RelationalValueSource> getRelationalValueSources()
RelationalValueSourceContainerRelationalValueSource references.getRelationalValueSources in interface RelationalValueSourceContainerRelationalValueSource references.public boolean areValuesIncludedInInsertByDefault()
ColumnBindingDefaultsareValuesIncludedInInsertByDefault in interface ColumnBindingDefaultstrue Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesIncludedInUpdateByDefault()
ColumnBindingDefaultsareValuesIncludedInUpdateByDefault in interface ColumnBindingDefaultstrue Indicates that updates are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesNullableByDefault()
ColumnBindingDefaultsareValuesNullableByDefault in interface ColumnBindingDefaultstrue Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public HibernateTypeSourceImpl getExplicitHibernateTypeSource()
getExplicitHibernateTypeSource in interface PluralAttributeElementSourceBasicpublic AttributePath getAttributePath()
ImplicitBasicColumnNameSourcegetAttributePath in interface ImplicitBasicColumnNameSourcepublic boolean isCollectionElement()
ImplicitBasicColumnNameSourcehbm.xml binding was to simply
name the column "elt".isCollectionElement in interface ImplicitBasicColumnNameSourcetrue if the column being named is the collection element
column; false otherwise.public MetadataBuildingContext getBuildingContext()
ImplicitNameSourcegetBuildingContext in interface ImplicitNameSourceCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.