Top Description Fields Constructors Methods
org.hibernate.tuple

public Class VersionProperty

extends StandardProperty
Class Inheritance
Imports
org.hibernate.engine.CascadeStyle, .VersionValue, org.hibernate.type.Type

Represents a version property within the Hibernate runtime-metamodel.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final VersionValue

Constructor Summary

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

Constructs VersionProperty instances.

Method Summary

Modifier and TypeMethod and Description
public VersionValue
Inherited from org.hibernate.tuple.StandardProperty:
getCascadeStylegetFetchModeisDirtyCheckableisDirtyCheckableisInsertableisInsertGeneratedisLazyisNullableisUpdateableisUpdateGeneratedisVersionable

Field Detail

unsavedValueback to summary
private final VersionValue unsavedValue

Constructor Detail

VersionPropertyback to summary
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:String

The name by which the property can be referenced within its owner.

node:String

The node name to use for XML-based representation of this property.

type:Type

The Hibernate Type of this property.

lazy:boolean

Should this property be handled lazily?

insertable:boolean

Is this property an insertable value?

updateable:boolean

Is this property an updateable value?

insertGenerated:boolean

Is this property generated in the database on insert?

updateGenerated:boolean

Is this property generated in the database on update?

nullable:boolean

Is this property a nullable value?

checkable:boolean

Is this property a checkable value?

versionable:boolean

Is this property a versionable value?

cascadeStyle:CascadeStyle

The cascade style for this property's value.

unsavedValue:VersionValue

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.

Method Detail

getUnsavedValueback to summary
public VersionValue getUnsavedValue()