public class VersionProperty extends StandardProperty
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
VersionValue |
getUnsavedValue() |
getCascadeStyle, getFetchMode, isDirtyCheckable, isDirtyCheckable, isInsertable, isInsertGenerated, isLazy, isNullable, isUpdateable, isUpdateGenerated, isVersionablepublic 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)
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 VersionValue getUnsavedValue()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.