Top Description Fields Constructors Methods
org.hibernate.tuple.entity

public Class VersionProperty

extends AbstractNonIdentifierAttribute
Class Inheritance
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, .VersionValue, org.hibernate.persister.entity.EntityPersister, org.hibernate.tuple.AbstractNonIdentifierAttribute, .BaselineAttributeInformation, org.hibernate.type.Type

Deprecated

as a consequence of AbstractNonIdentifierAttribute being deprecated. See corresponding docs for further information.

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(EntityPersister
Reference back to the source of this attribute (the persister)
source
,
SessionFactoryImplementor
The session factory this is part of.
sessionFactory
,
int
The attribute number within thje
attributeNumber
,
String
The name by which the property can be referenced within its owner.
attributeName
,
Type
The Hibernate Type of this property.
attributeType
,
BaselineAttributeInformation
The basic attribute information.
attributeInformation
,
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
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Constructs VersionProperty instances.

Method Summary

Modifier and TypeMethod and Description
public VersionValue
Inherited from org.hibernate.tuple.AbstractNonIdentifierAttribute:
attributeNumbergetCascadeStylegetFetchModegetSourcegetValueGenerationStrategyisDirtyCheckableisDirtyCheckableisInsertableisLazyisNullableisUpdateableisVersionableloggableMetadatasessionFactorysourcetoString

Field Detail

unsavedValueback to summary
private final VersionValue unsavedValue

Constructor Detail

VersionPropertyback to summary
public VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Constructs VersionProperty instances.

Parameters
source:EntityPersister

Reference back to the source of this attribute (the persister)

sessionFactory:SessionFactoryImplementor

The session factory this is part of.

attributeNumber:int

The attribute number within thje

attributeName:String

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

attributeType:Type

The Hibernate Type of this property.

attributeInformation:BaselineAttributeInformation

The basic attribute information.

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()