Top Description Fields Constructors Methods
org.hibernate.tuple

public Class StandardProperty

extends Property
Class Inheritance
Known Direct Subclasses
org.hibernate.tuple.VersionProperty
Imports
org.hibernate.engine.CascadeStyle, org.hibernate.type.Type, org.hibernate.FetchMode

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

Field Summary

Modifier and TypeField and Description
private final CascadeStyle
private final boolean
private final FetchMode
private final boolean
private final boolean
private final boolean
private final boolean
private final boolean
private final boolean
private final boolean

Constructor Summary

AccessConstructor and Description
public
StandardProperty(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
,
FetchMode
Any fetch mode defined for this property
fetchMode
)

Constructs StandardProperty instances.

Method Summary

Modifier and TypeMethod and Description
public CascadeStyle
public FetchMode
public boolean
isDirtyCheckable(boolean hasUninitializedProperties)

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
Inherited from org.hibernate.tuple.Property:
getNamegetNodegetTypetoString

Field Detail

cascadeStyleback to summary
private final CascadeStyle cascadeStyle
dirtyCheckableback to summary
private final boolean dirtyCheckable
fetchModeback to summary
private final FetchMode fetchMode
insertableback to summary
private final boolean insertable
insertGeneratedback to summary
private final boolean insertGenerated
lazyback to summary
private final boolean lazy
nullableback to summary
private final boolean nullable
updateableback to summary
private final boolean updateable
updateGeneratedback to summary
private final boolean updateGenerated
versionableback to summary
private final boolean versionable

Constructor Detail

StandardPropertyback to summary
public StandardProperty(String name, String node, Type type, boolean lazy, boolean insertable, boolean updateable, boolean insertGenerated, boolean updateGenerated, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, FetchMode fetchMode)

Constructs StandardProperty 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.

fetchMode:FetchMode

Any fetch mode defined for this property

Method Detail

getCascadeStyleback to summary
public CascadeStyle getCascadeStyle()
getFetchModeback to summary
public FetchMode getFetchMode()
isDirtyCheckableback to summary
public boolean isDirtyCheckable(boolean hasUninitializedProperties)
isDirtyCheckableback to summary
public boolean isDirtyCheckable()
isInsertableback to summary
public boolean isInsertable()
isInsertGeneratedback to summary
public boolean isInsertGenerated()
isLazyback to summary
public boolean isLazy()
isNullableback to summary
public boolean isNullable()
isUpdateableback to summary
public boolean isUpdateable()
isUpdateGeneratedback to summary
public boolean isUpdateGenerated()
isVersionableback to summary
public boolean isVersionable()