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, sourceMappingDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFetchCharacteristics, getForeignKeyDirection, getReferencedEntityAttributeName, getReferencedEntityName, isEmbedXml, isUniquegetSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatablegetAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLockinggetToolingHintContextgetExplicitForeignKeyName, isCascadeDeleteEnabledgetCascadeStyleNamepublic NaturalIdMutability getNaturalIdMutability()
SingularAttributeSourcegetNaturalIdMutability in interface SingularAttributeSourcepublic boolean isSingular()
AttributeSourceisSingular in interface AttributeSourcetrue indicates the attribute is singular (and therefore castable
to SingularAttributeSource); false indicates it is plural (and
therefore castable to PluralAttributeSource).public boolean isVirtualAttribute()
SingularAttributeSourceisVirtualAttribute in interface SingularAttributeSourcetrue indicates the attribute is virtual, meaning it does NOT exist on the domain model;
false indicates the attribute physically exists.public GenerationTiming getGenerationTiming()
SingularAttributeSourcegetGenerationTiming in interface SingularAttributeSourcepublic boolean isIgnoreNotFound()
isIgnoreNotFound in interface AssociationSourcepublic boolean isMappedBy()
isMappedBy in interface AssociationSourcepublic AttributeSource getAttributeSource()
getAttributeSource in interface AssociationSourcepublic boolean createForeignKeyConstraint()
ForeignKeyContributingSource@ForeignKey(NO_CONSTRAINT).createForeignKeyConstraint in interface ForeignKeyContributingSourcetrue if the FK constraint should be created, false if not.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.