org.hibernate.tuple
Class StandardProperty

java.lang.Object
  extended byorg.hibernate.tuple.Property
      extended byorg.hibernate.tuple.StandardProperty
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
VersionProperty

public class StandardProperty
extends Property

Represents a basic property within the Hibernate runtime-metamodel.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
StandardProperty(String name, String node, Type type, boolean lazy, boolean insertable, boolean updateable, boolean nullable, boolean checkable, boolean versionable, Cascades.CascadeStyle cascadeStyle)
          Constructs StandardProperty instances.
 
Method Summary
 Cascades.CascadeStyle getCascadeStyle()
           
 boolean isDirtyCheckable()
           
 boolean isDirtyCheckable(boolean hasUninitializedProperties)
           
 boolean isInsertable()
           
 boolean isLazy()
           
 boolean isNullable()
           
 boolean isUpdateable()
           
 boolean isVersionable()
           
 void setCascadeStyle(Cascades.CascadeStyle cascadeStyle)
           
 void setDirtyCheckable(boolean checkable)
           
 void setInsertable(boolean insertable)
           
 void setLazy(boolean lazy)
           
 void setNullable(boolean nullable)
           
 void setUpdateable(boolean updateable)
           
 void setVersionable(boolean versionable)
           
 
Methods inherited from class org.hibernate.tuple.Property
getName, getNode, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StandardProperty

public StandardProperty(String name,
                        String node,
                        Type type,
                        boolean lazy,
                        boolean insertable,
                        boolean updateable,
                        boolean nullable,
                        boolean checkable,
                        boolean versionable,
                        Cascades.CascadeStyle cascadeStyle)
Constructs StandardProperty instances.

Parameters:
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?
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.
Method Detail

isLazy

public boolean isLazy()

setLazy

public void setLazy(boolean lazy)

isInsertable

public boolean isInsertable()

setInsertable

public void setInsertable(boolean insertable)

isUpdateable

public boolean isUpdateable()

setUpdateable

public void setUpdateable(boolean updateable)

isNullable

public boolean isNullable()

setNullable

public void setNullable(boolean nullable)

isDirtyCheckable

public boolean isDirtyCheckable(boolean hasUninitializedProperties)

isDirtyCheckable

public boolean isDirtyCheckable()

setDirtyCheckable

public void setDirtyCheckable(boolean checkable)

isVersionable

public boolean isVersionable()

setVersionable

public void setVersionable(boolean versionable)

getCascadeStyle

public Cascades.CascadeStyle getCascadeStyle()

setCascadeStyle

public void setCascadeStyle(Cascades.CascadeStyle cascadeStyle)