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-oneandmany-to-one).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FetchCharacteristicsSingularAssociationgetFetchCharacteristics()ForeignKeyDirectiongetForeignKeyDirection()java.lang.StringgetReferencedEntityAttributeName()java.lang.StringgetReferencedEntityName()Obtain the name of the referenced entity.java.lang.BooleanisEmbedXml()booleanisUnique()-
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: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
java.lang.Boolean isEmbedXml()
-
-