public abstract class AbstractToOneAttributeSourceImpl extends AbstractHbmSourceNode implements SingularAttributeSourceToOne
Modifier and Type | Method and Description |
---|---|
boolean |
createForeignKeyConstraint()
Primarily exists to support JPA's
@ForeignKey(NO_CONSTRAINT) . |
AttributeSource |
getAttributeSource() |
GenerationTiming |
getGenerationTiming()
Obtain a description of if/when the attribute value is generated by the database.
|
NaturalIdMutability |
getNaturalIdMutability()
Retrieve the natural id mutability
|
boolean |
isIgnoreNotFound() |
boolean |
isMappedBy() |
boolean |
isSingular()
Attributes are (coarsely speaking) either singular or plural.
|
boolean |
isVirtualAttribute()
Determine whether this is a virtual attribute or whether it physically exists on the users domain model.
|
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFetchCharacteristics, getForeignKeyDirection, getReferencedEntityAttributeName, getReferencedEntityName, isEmbedXml, isUnique
getSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatable
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking
getToolingHintContext
getExplicitForeignKeyName, isCascadeDeleteEnabled
getCascadeStyleName
public NaturalIdMutability getNaturalIdMutability()
SingularAttributeSource
getNaturalIdMutability
in interface SingularAttributeSource
public boolean isSingular()
AttributeSource
isSingular
in interface AttributeSource
true
indicates the attribute is singular (and therefore castable
to SingularAttributeSource
); false
indicates it is plural (and
therefore castable to PluralAttributeSource
).public boolean isVirtualAttribute()
SingularAttributeSource
isVirtualAttribute
in interface SingularAttributeSource
true
indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false
indicates the attribute physically exists.public GenerationTiming getGenerationTiming()
SingularAttributeSource
getGenerationTiming
in interface SingularAttributeSource
public boolean isIgnoreNotFound()
isIgnoreNotFound
in interface AssociationSource
public boolean isMappedBy()
isMappedBy
in interface AssociationSource
public AttributeSource getAttributeSource()
getAttributeSource
in interface AssociationSource
public boolean createForeignKeyConstraint()
ForeignKeyContributingSource
@ForeignKey(NO_CONSTRAINT)
.createForeignKeyConstraint
in interface ForeignKeyContributingSource
true
if the FK constraint should be created, false
if not.Copyright © 2019 JBoss by Red Hat. All rights reserved.