public class VersionProperty extends AbstractNonIdentifierAttribute
| Constructor and Description | 
|---|
VersionProperty(EntityPersister source,
               SessionFactoryImplementor sessionFactory,
               int attributeNumber,
               String attributeName,
               Type attributeType,
               BaselineAttributeInformation attributeInformation,
               VersionValue unsavedValue)
Constructs VersionProperty instances. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
VersionValue | 
getUnsavedValue()  | 
attributeNumber, getCascadeStyle, getFetchMode, getSource, getValueGenerationStrategy, isDirtyCheckable, isDirtyCheckable, isInsertable, isLazy, isNullable, isUpdateable, isVersionable, loggableMetadata, sessionFactory, source, toStringgetName, getNode, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, getTypepublic VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)
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.public VersionValue getUnsavedValue()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.