类 AbstractSingularAttributeSourceEmbeddedImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.AbstractSingularAttributeSourceEmbeddedImpl
-
- 所有已实现的接口:
AttributeSource,EmbeddableSourceContributor,SingularAttributeSource,SingularAttributeSourceEmbedded,ToolingHintContextContainer
public abstract class AbstractSingularAttributeSourceEmbeddedImpl extends AbstractHbmSourceNode implements SingularAttributeSourceEmbedded
Common base class forand mappings. - 作者:
- Steve Ebersole
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, AttributeSourceContainer container, EmbeddedAttributeMapping embeddedAttributeMapping, List nestedAttributeMappings, boolean isDynamic, NaturalIdMutability naturalIdMutability, String logicalTableName)AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, EmbeddedAttributeMapping jaxbEmbeddedAttributeMapping, EmbeddableSource embeddableSource, NaturalIdMutability naturalIdMutability)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EmbeddableSourcegetEmbeddableSource()Gets the source information about the embeddable/composition.GenerationTiminggetGenerationTiming()Obtain a description of if/when the attribute value is generated by the database.StringgetName()Obtain the attribute name.NaturalIdMutabilitygetNaturalIdMutability()Retrieve the natural id mutabilityStringgetPropertyAccessorName()Obtain the name of the property accessor style used to access this attribute.SingularAttributeNaturegetSingularAttributeNature()Obtain the nature of this attribute type.HibernateTypeSourcegetTypeInformation()Obtain information about the Hibernate type (Type) for this attribute.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, getSourceType, getXmlNodeName, isIncludedInOptimisticLocking
-
从接口继承的方法 org.hibernate.boot.model.source.spi.SingularAttributeSource
isBytecodeLazy, isInsertable, isUpdatable
-
从接口继承的方法 org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
构造器详细资料
-
AbstractSingularAttributeSourceEmbeddedImpl
protected AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, AttributeSourceContainer container, EmbeddedAttributeMapping embeddedAttributeMapping, List nestedAttributeMappings, boolean isDynamic, NaturalIdMutability naturalIdMutability, String logicalTableName)
-
AbstractSingularAttributeSourceEmbeddedImpl
public AbstractSingularAttributeSourceEmbeddedImpl(MappingDocument sourceMappingDocument, EmbeddedAttributeMapping jaxbEmbeddedAttributeMapping, EmbeddableSource embeddableSource, NaturalIdMutability naturalIdMutability)
-
-
方法详细资料
-
getEmbeddableSource
public EmbeddableSource getEmbeddableSource()
从接口复制的说明:EmbeddableSourceContributorGets the source information about the embeddable/composition.- 指定者:
getEmbeddableSource在接口中EmbeddableSourceContributor- 返回:
- The EmbeddableSource
-
getName
public String getName()
从接口复制的说明:AttributeSourceObtain the attribute name.- 指定者:
getName在接口中AttributeSource- 返回:
- The attribute name.
nullis NOT allowed!
-
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.
-
getSingularAttributeNature
public SingularAttributeNature getSingularAttributeNature()
从接口复制的说明:SingularAttributeSourceObtain the nature of this attribute type.- 指定者:
getSingularAttributeNature在接口中SingularAttributeSource- 返回:
- The attribute type nature
-
getTypeInformation
public HibernateTypeSource getTypeInformation()
从接口复制的说明:AttributeSourceObtain information about the Hibernate type (Type) for this attribute.- 指定者:
getTypeInformation在接口中AttributeSource- 返回:
- The Hibernate type information
-
getPropertyAccessorName
public String getPropertyAccessorName()
从接口复制的说明:AttributeSourceObtain the name of the property accessor style used to access this attribute.- 指定者:
getPropertyAccessorName在接口中AttributeSource- 返回:
- The property accessor style for this attribute.
- 另请参阅:
PropertyAccessStrategy
-
getNaturalIdMutability
public NaturalIdMutability getNaturalIdMutability()
从接口复制的说明:SingularAttributeSourceRetrieve the natural id mutability- 指定者:
getNaturalIdMutability在接口中SingularAttributeSource- 返回:
- The mutability, see enum for meanings
-
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
-
-