类 VersionProperty
- java.lang.Object
-
- org.hibernate.tuple.AbstractAttribute
-
- org.hibernate.tuple.AbstractNonIdentifierAttribute
-
- org.hibernate.tuple.entity.VersionProperty
-
- 所有已实现的接口:
AttributeDefinition,Attribute,NonIdentifierAttribute,Property
public class VersionProperty extends AbstractNonIdentifierAttribute
Represents a version property within the Hibernate runtime-metamodel.- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)Constructs VersionProperty instances.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 VersionValuegetUnsavedValue()-
从类继承的方法 org.hibernate.tuple.AbstractNonIdentifierAttribute
attributeNumber, getCascadeStyle, getFetchMode, getSource, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable, loggableMetadata, sessionFactory, source, toString
-
从类继承的方法 org.hibernate.tuple.AbstractAttribute
getName, getNode, getType
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 org.hibernate.persister.walking.spi.AttributeDefinition
getName, getType
-
-
-
-
构造器详细资料
-
VersionProperty
public VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)
Constructs VersionProperty instances.- 参数:
source- Reference back to the source of this attribute (the persister)sessionFactory- The session factory this is part of.attributeNumber- The attribute number within thjeattributeName- The name by which the property can be referenced within its owner.attributeType- The Hibernate Type of this property.attributeInformation- The basic attribute information.unsavedValue- The value which, if found as the value of this (i.e., the version) property, represents new (i.e., un-saved) instances of the owning entity.
-
-
方法详细资料
-
getUnsavedValue
public VersionValue getUnsavedValue()
-
-