类 AbstractToOneAttributeSourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.AbstractToOneAttributeSourceImpl
-
- 所有已实现的接口:
AssociationSource,AttributeSource,CascadeStyleSource,FetchableAttributeSource,ForeignKeyContributingSource,SingularAttributeSource,SingularAttributeSourceToOne,ToolingHintContextContainer
public abstract class AbstractToOneAttributeSourceImpl extends AbstractHbmSourceNode implements SingularAttributeSourceToOne
- 作者:
- Steve Ebersole, Gail Badner
-
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancreateForeignKeyConstraint()Primarily exists to support JPA's@ForeignKey(NO_CONSTRAINT).AttributeSourcegetAttributeSource()GenerationTiminggetGenerationTiming()Obtain a description of if/when the attribute value is generated by the database.NaturalIdMutabilitygetNaturalIdMutability()Retrieve the natural id mutabilitybooleanisIgnoreNotFound()booleanisMappedBy()booleanisSingular()Attributes are (coarsely speaking) either singular or plural.booleanisVirtualAttribute()Determine whether this is a virtual attribute or whether it physically exists on the users domain model.-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.model.source.spi.AttributeSource
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getSourceType, getTypeInformation, getXmlNodeName, isIncludedInOptimisticLocking
-
从接口继承的方法 org.hibernate.boot.model.source.spi.CascadeStyleSource
getCascadeStyleName
-
从接口继承的方法 org.hibernate.boot.model.source.spi.ForeignKeyContributingSource
getExplicitForeignKeyName, isCascadeDeleteEnabled
-
从接口继承的方法 org.hibernate.boot.model.source.spi.SingularAttributeSource
getSingularAttributeNature, isBytecodeLazy, isInsertable, isUpdatable
-
从接口继承的方法 org.hibernate.boot.model.source.spi.SingularAttributeSourceToOne
getFetchCharacteristics, getForeignKeyDirection, getReferencedEntityAttributeName, getReferencedEntityName, isEmbedXml, isUnique
-
从接口继承的方法 org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
方法详细资料
-
getNaturalIdMutability
public NaturalIdMutability getNaturalIdMutability()
从接口复制的说明:SingularAttributeSourceRetrieve the natural id mutability- 指定者:
getNaturalIdMutability在接口中SingularAttributeSource- 返回:
- The mutability, see enum for meanings
-
isSingular
public boolean isSingular()
从接口复制的说明:AttributeSourceAttributes are (coarsely speaking) either singular or plural.- 指定者:
isSingular在接口中AttributeSource- 返回:
trueindicates the attribute is singular (and therefore castable toSingularAttributeSource);falseindicates it is plural (and therefore castable toPluralAttributeSource).
-
isVirtualAttribute
public boolean isVirtualAttribute()
从接口复制的说明:SingularAttributeSourceDetermine whether this is a virtual attribute or whether it physically exists on the users domain model.- 指定者:
isVirtualAttribute在接口中SingularAttributeSource- 返回:
trueindicates the attribute is virtual, meaning it does NOT exist on the domain model;falseindicates the attribute physically exists.
-
getGenerationTiming
public GenerationTiming getGenerationTiming()
从接口复制的说明:SingularAttributeSourceObtain a description of if/when the attribute value is generated by the database.- 指定者:
getGenerationTiming在接口中SingularAttributeSource- 返回:
- The attribute value generation information
-
isIgnoreNotFound
public boolean isIgnoreNotFound()
- 指定者:
isIgnoreNotFound在接口中AssociationSource
-
isMappedBy
public boolean isMappedBy()
- 指定者:
isMappedBy在接口中AssociationSource
-
getAttributeSource
public AttributeSource getAttributeSource()
- 指定者:
getAttributeSource在接口中AssociationSource
-
createForeignKeyConstraint
public boolean createForeignKeyConstraint()
从接口复制的说明:ForeignKeyContributingSourcePrimarily exists to support JPA's@ForeignKey(NO_CONSTRAINT).- 指定者:
createForeignKeyConstraint在接口中ForeignKeyContributingSource- 返回:
trueif the FK constraint should be created,falseif not.
-
-