Top Description Methods
org.hibernate.boot.model.source.spi

public Interface SingularAttributeSourceToOne

extends SingularAttributeSource, ForeignKeyContributingSource, FetchableAttributeSource, AssociationSource, CascadeStyleSource
Known Direct Subinterfaces
org.hibernate.boot.model.source.spi.SingularAttributeSourceManyToOne, org.hibernate.boot.model.source.spi.SingularAttributeSourceOneToOne
Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.AbstractToOneAttributeSourceImpl
Imports
org.hibernate.type.ForeignKeyDirection

Further contract for sources of singular associations (one-to-one and many-to-one).
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public FetchCharacteristicsSingularAssociation
public ForeignKeyDirection
public String
public String
public Boolean
public boolean
Inherited from org.hibernate.boot.model.source.spi.AssociationSource:
getAttributeSourceisIgnoreNotFoundisMappedBy
Inherited from org.hibernate.boot.model.source.spi.CascadeStyleSource:
getCascadeStyleName
Inherited from org.hibernate.boot.model.source.spi.ForeignKeyContributingSource:
createForeignKeyConstraintgetExplicitForeignKeyNameisCascadeDeleteEnabled
Inherited from org.hibernate.boot.model.source.spi.SingularAttributeSource:
getGenerationTiminggetNaturalIdMutabilitygetSingularAttributeNatureisBytecodeLazyisInsertableisUpdatableisVirtualAttribute

Method Detail

getFetchCharacteristicsback to summary
public FetchCharacteristicsSingularAssociation getFetchCharacteristics()

Redeclares org.hibernate.boot.model.source.spi.FetchableAttributeSource.getFetchCharacteristics.

Annotations
@Override
getForeignKeyDirectionback to summary
public ForeignKeyDirection getForeignKeyDirection()
getReferencedEntityAttributeNameback to summary
public String getReferencedEntityAttributeName()
getReferencedEntityNameback to summary
public String getReferencedEntityName()

Redeclares org.hibernate.boot.model.source.spi.AssociationSource.getReferencedEntityName.

Doc from org.hibernate.boot.model.source.spi.AssociationSource.getReferencedEntityName.

Obtain the name of the referenced entity.

Returns:String

The name of the referenced entity

isEmbedXmlback to summary
public Boolean isEmbedXml()
isUniqueback to summary
public boolean isUnique()