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 and many-to-one).-
Method Summary
Methods inherited from interface AssociationSource
getAttributeSource, isIgnoreNotFound, isMappedByMethods inherited from interface AttributeSource
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking, isSingularMethods inherited from interface CascadeStyleSource
getCascadeStyleNameMethods inherited from interface ForeignKeyContributingSource
createForeignKeyConstraint, getExplicitForeignKeyName, isCascadeDeleteEnabledMethods inherited from interface SingularAttributeSource
getGenerationTiming, getNaturalIdMutability, getSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatable, isVirtualAttributeMethods inherited from interface 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()
-