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, isMappedByMethods inherited from interface org.hibernate.boot.model.source.spi.AttributeSource
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking, isSingularMethods inherited from interface org.hibernate.boot.model.source.spi.CascadeStyleSource
getCascadeStyleNameMethods inherited from interface org.hibernate.boot.model.source.spi.ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyName, isCascadeDeleteEnabledMethods inherited from interface org.hibernate.boot.model.source.spi.SingularAttributeSource
getGenerationTiming, getNaturalIdMutability, getSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatable, isVirtualAttributeMethods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getReferencedEntityAttributeName
String getReferencedEntityAttributeName() -
getReferencedEntityName
String getReferencedEntityName()Description copied from interface:AssociationSourceObtain the name of the referenced entity.- Specified by:
getReferencedEntityNamein interfaceAssociationSource- Returns:
- The name of the referenced entity
-
getForeignKeyDirection
ForeignKeyDirection getForeignKeyDirection() -
getFetchCharacteristics
FetchCharacteristicsSingularAssociation getFetchCharacteristics()- Specified by:
getFetchCharacteristicsin interfaceFetchableAttributeSource
-
isUnique
boolean isUnique() -
isEmbedXml
Boolean isEmbedXml()
-