public class CompositeIdentifierSingularAttributeSourceManyToOneImpl extends AbstractToOneAttributeSourceImpl implements SingularAttributeSourceManyToOne, RelationalValueSourceContainer
<key-many-to-one/> mapping| Constructor and Description |
|---|
CompositeIdentifierSingularAttributeSourceManyToOneImpl(MappingDocument mappingDocument,
AttributeSourceContainer container,
JaxbHbmCompositeKeyManyToOneType keyManyToOneElement) |
| 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() |
AttributeRole |
getAttributeRole() |
java.lang.String |
getCascadeStyleName()
Obtain the cascade styles to be applied to this association.
|
protected java.lang.String |
getClassName() |
java.lang.String |
getExplicitForeignKeyName()
Retrieve the name of the foreign key as supplied by the user, or
null if the user supplied none. |
FetchCharacteristicsSingularAssociationImpl |
getFetchCharacteristics() |
ForeignKeyDirection |
getForeignKeyDirection() |
java.lang.String |
getName()
Obtain the attribute name.
|
java.lang.String |
getPropertyAccessorName()
Obtain the name of the property accessor style used to access this attribute.
|
java.lang.String |
getReferencedEntityAttributeName() |
java.lang.String |
getReferencedEntityName()
Obtain the name of the referenced entity.
|
java.util.List<RelationalValueSource> |
getRelationalValueSources()
Obtain the contained
RelationalValueSource references. |
SingularAttributeNature |
getSingularAttributeNature()
Obtain the nature of this attribute type.
|
XmlElementMetadata |
getSourceType() |
ToolingHintContext |
getToolingHintContext() |
HibernateTypeSourceImpl |
getTypeInformation()
Obtain information about the Hibernate type (
Type) for this attribute. |
java.lang.String |
getXmlNodeName()
Ugh.
|
boolean |
isBytecodeLazy()
Should the attribute be lazily loaded by bytecode enhancement?
|
boolean |
isCascadeDeleteEnabled()
Is "cascade delete" enabled for the foreign key? In other words, if a record in the parent (referenced)
table is deleted, should the corresponding records in the child table automatically be deleted?
|
java.lang.Boolean |
isEmbedXml() |
boolean |
isIncludedInOptimisticLocking()
If the containing entity is using optimistic locking, should this
attribute participate in that locking? Meaning, should changes in the
value of this attribute at runtime indicate that the entity is now dirty
in terms of optimistic locking?
|
java.lang.Boolean |
isInsertable()
Did the mapping specify that the given attribute value(s) should be inserted into the database?
|
boolean |
isUnique() |
java.lang.Boolean |
isUpdatable()
Did the mapping specify that the given attribute value(s) should be updated in the database?
|
boolean |
isVirtualAttribute()
Determine whether this is a virtual attribute or whether it physically exists on the users domain model.
|
createForeignKeyConstraint, getAttributeSource, getGenerationTiming, getNaturalIdMutability, isIgnoreNotFound, isMappedBy, isSingularmappingRoot, metadataBuildingContext, origin, sourceMappingDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGenerationTiming, getNaturalIdMutabilityisSingularcreateForeignKeyConstraintgetAttributeSource, isIgnoreNotFound, isMappedBypublic CompositeIdentifierSingularAttributeSourceManyToOneImpl(MappingDocument mappingDocument, AttributeSourceContainer container, JaxbHbmCompositeKeyManyToOneType keyManyToOneElement)
public SingularAttributeNature getSingularAttributeNature()
SingularAttributeSourcegetSingularAttributeNature in interface SingularAttributeSourcepublic java.lang.Boolean isInsertable()
SingularAttributeSourceisInsertable in interface SingularAttributeSourcetrue indicates value(s) should be inserted; false indicates not.public java.lang.Boolean isUpdatable()
SingularAttributeSourceisUpdatable in interface SingularAttributeSourcetrue indicates value(s) should be updated; false indicates not.public boolean isBytecodeLazy()
SingularAttributeSourceisBytecodeLazy in interface SingularAttributeSourcetrue to indicate the attribute should be lazily loaded by bytecode enhancement?public XmlElementMetadata getSourceType()
getSourceType in interface AttributeSourcepublic java.lang.String getName()
AttributeSourcegetName in interface AttributeSourcenull is NOT allowed!public java.lang.String getXmlNodeName()
AttributeSourcegetXmlNodeName in interface AttributeSourcepublic AttributePath getAttributePath()
getAttributePath in interface AttributeSourcepublic HibernateTypeSourceImpl getTypeInformation()
AttributeSourceType) for this attribute.getTypeInformation in interface AttributeSourcepublic java.lang.String getPropertyAccessorName()
AttributeSourcegetPropertyAccessorName in interface AttributeSourcePropertyAccessStrategypublic AttributeRole getAttributeRole()
getAttributeRole in interface AttributeSourcepublic 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 isIncludedInOptimisticLocking()
AttributeSourceisIncludedInOptimisticLocking in interface AttributeSourcetrue indicates it should be included; false, it should not.public FetchCharacteristicsSingularAssociationImpl getFetchCharacteristics()
getFetchCharacteristics in interface FetchableAttributeSourcegetFetchCharacteristics in interface SingularAttributeSourceToOnepublic boolean isVirtualAttribute()
SingularAttributeSourceisVirtualAttribute in interface SingularAttributeSourceisVirtualAttribute in class AbstractToOneAttributeSourceImpltrue indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false indicates the attribute physically exists.public boolean areValuesNullableByDefault()
ColumnBindingDefaultsareValuesNullableByDefault in interface ColumnBindingDefaultstrue Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public java.lang.String getReferencedEntityAttributeName()
getReferencedEntityAttributeName in interface SingularAttributeSourceToOnepublic java.lang.String getReferencedEntityName()
AssociationSourcegetReferencedEntityName in interface AssociationSourcegetReferencedEntityName in interface SingularAttributeSourceToOnepublic java.lang.Boolean isEmbedXml()
isEmbedXml in interface SingularAttributeSourceToOnepublic boolean isUnique()
isUnique in interface SingularAttributeSourceToOnepublic ForeignKeyDirection getForeignKeyDirection()
getForeignKeyDirection in interface SingularAttributeSourceToOnepublic java.lang.String getCascadeStyleName()
CascadeStyleSourcegetCascadeStyleName in interface CascadeStyleSourcepublic java.lang.String getExplicitForeignKeyName()
ForeignKeyContributingSourcenull if the user supplied none.getExplicitForeignKeyName in interface ForeignKeyContributingSourcepublic boolean isCascadeDeleteEnabled()
ForeignKeyContributingSourceisCascadeDeleteEnabled in interface ForeignKeyContributingSourcetrue, if the cascade delete is enabled; false, otherwise.protected java.lang.String getClassName()
public ToolingHintContext getToolingHintContext()
getToolingHintContext in interface ToolingHintContextContainerCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.