org.hibernate.tuple
Class StandardProperty
- Serializable
public class StandardProperty
Represents a basic property within the Hibernate runtime-metamodel.
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.
|
StandardProperty
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.
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.fetchMode
- Any fetch mode defined for this property
isDirtyCheckable
public boolean isDirtyCheckable()
isDirtyCheckable
public boolean isDirtyCheckable(boolean hasUninitializedProperties)
isInsertGenerated
public boolean isInsertGenerated()
isInsertable
public boolean isInsertable()
isLazy
public boolean isLazy()
isNullable
public boolean isNullable()
isUpdateGenerated
public boolean isUpdateGenerated()
isUpdateable
public boolean isUpdateable()
isVersionable
public boolean isVersionable()