Interface SingularAttributeSourceToOne
- All Superinterfaces:
AssociationSource
,AttributeSource
,CascadeStyleSource
,FetchableAttributeSource
,ForeignKeyContributingSource
,SingularAttributeSource
,ToolingHintContextContainer
- All Known Subinterfaces:
SingularAttributeSourceManyToOne
,SingularAttributeSourceOneToOne
- All Known Implementing Classes:
AbstractToOneAttributeSourceImpl
,CompositeIdentifierSingularAttributeSourceManyToOneImpl
public interface SingularAttributeSourceToOne
extends SingularAttributeSource, ForeignKeyContributingSource, FetchableAttributeSource, AssociationSource, CascadeStyleSource
Further contract for sources of singular associations (
one-to-one
and many-to-one
).-
Method Summary
Methods inherited from interface org.hibernate.boot.model.source.spi.AssociationSource
getAttributeSource, isIgnoreNotFound, isMappedBy
Methods inherited from interface org.hibernate.boot.model.source.spi.AttributeSource
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking, isSingular
Methods inherited from interface org.hibernate.boot.model.source.spi.CascadeStyleSource
getCascadeStyleName
Methods inherited from interface org.hibernate.boot.model.source.spi.ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyName, isCascadeDeleteEnabled
Methods inherited from interface org.hibernate.boot.model.source.spi.SingularAttributeSource
getGenerationTiming, getNaturalIdMutability, getSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatable, isVirtualAttribute
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getReferencedEntityAttributeName
String getReferencedEntityAttributeName() -
getReferencedEntityName
String getReferencedEntityName()Description copied from interface:AssociationSource
Obtain the name of the referenced entity.- Specified by:
getReferencedEntityName
in interfaceAssociationSource
- Returns:
- The name of the referenced entity
-
getForeignKeyDirection
ForeignKeyDirection getForeignKeyDirection() -
getFetchCharacteristics
FetchCharacteristicsSingularAssociation getFetchCharacteristics()- Specified by:
getFetchCharacteristics
in interfaceFetchableAttributeSource
-
isUnique
boolean isUnique() -
isEmbedXml
Boolean isEmbedXml()
-