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, toString
getName, getNode, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getType
public 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 © 2016 JBoss by Red Hat. All rights reserved.