public class

VersionProperty

extends StandardProperty
java.lang.Object
   ↳ org.hibernate.tuple.Property
     ↳ org.hibernate.tuple.StandardProperty
       ↳ org.hibernate.tuple.VersionProperty

Class Overview

Represents a version property within the Hibernate runtime-metamodel.

Summary

Public Constructors
VersionProperty(String name, String node, Type type, boolean lazy, boolean insertable, boolean updateable, boolean insertGenerated, boolean updateGenerated, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, VersionValue unsavedValue)
Constructs VersionProperty instances.
Public Methods
VersionValue getUnsavedValue()
[Expand]
Inherited Methods
From class org.hibernate.tuple.StandardProperty
From class org.hibernate.tuple.Property
From class java.lang.Object

Public Constructors

public VersionProperty (String name, String node, Type type, boolean lazy, boolean insertable, boolean updateable, boolean insertGenerated, boolean updateGenerated, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, VersionValue unsavedValue)

Constructs VersionProperty instances.

Parameters
name The name by which the property can be referenced within its owner.
node The node name to use for XML-based representation of this property.
type The Hibernate Type of this property.
lazy Should this property be handled lazily?
insertable Is this property an insertable value?
updateable Is this property an updateable value?
insertGenerated Is this property generated in the database on insert?
updateGenerated Is this property generated in the database on update?
nullable Is this property a nullable value?
checkable Is this property a checkable value?
versionable Is this property a versionable value?
cascadeStyle The cascade style for this property's value.
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 Methods

public VersionValue getUnsavedValue ()