Interface SingularAttributeSourceToOne
-
- All Superinterfaces:
AssociationSource
,AttributeSource
,CascadeStyleSource
,FetchableAttributeSource
,ForeignKeyContributingSource
,SingularAttributeSource
,ToolingHintContextContainer
- All Known Subinterfaces:
SingularAttributeSourceManyToOne
,SingularAttributeSourceOneToOne
public interface SingularAttributeSourceToOne extends SingularAttributeSource, ForeignKeyContributingSource, FetchableAttributeSource, AssociationSource, CascadeStyleSource
Further contract for sources of singular associations (one-to-one
andmany-to-one
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FetchCharacteristicsSingularAssociation
getFetchCharacteristics()
ForeignKeyDirection
getForeignKeyDirection()
java.lang.String
getReferencedEntityAttributeName()
java.lang.String
getReferencedEntityName()
Obtain the name of the referenced entity.java.lang.Boolean
isEmbedXml()
boolean
isUnique()
-
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 Detail
-
getReferencedEntityAttributeName
java.lang.String getReferencedEntityAttributeName()
-
getReferencedEntityName
java.lang.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
java.lang.Boolean isEmbedXml()
-
-