public class

Property

extends Object
implements Serializable MetaAttributable
java.lang.Object
   ↳ org.hibernate.mapping.Property
Known Direct Subclasses

Class Overview

Represents a property as part of an entity or a component.

Summary

Public Constructors
Property()
Public Methods
String getAccessorPropertyName(EntityMode mode)
String getCascade()
CascadeStyle getCascadeStyle()
Iterator getColumnIterator()
int getColumnSpan()
PropertyGeneration getGeneration()
Getter getGetter(Class clazz)
MetaAttribute getMetaAttribute(String attributeName)
Map getMetaAttributes()
String getName()
String getNodeName()
PersistentClass getPersistentClass()
PropertyAccessor getPropertyAccessor(Class clazz)
String getPropertyAccessorName()
Setter getSetter(Class clazz)
Type getType()
Value getValue()
boolean isBackRef()
boolean isBasicPropertyAccessor()
boolean isComposite()
boolean isInsertable()
boolean isLazy()
boolean isNaturalIdentifier()
boolean isOptimisticLocked()
boolean isOptional()
boolean isPrimitive(Class clazz)
boolean isSelectable()
boolean isSynthetic()
Does this property represent a synthetic property? A synthetic property is one we create during metamodel binding to represent a collection of columns but which does not represent a property physically available on the entity.
boolean isUpdateable()
boolean isValid(Mapping mapping)
void setCascade(String cascade)
void setGeneration(PropertyGeneration generation)
void setInsertable(boolean insertable)
void setLazy(boolean lazy)
void setMetaAttributes(Map metas)
void setName(String name)
void setNaturalIdentifier(boolean naturalIdentifier)
void setNodeName(String nodeName)
void setOptimisticLocked(boolean optimisticLocked)
void setOptional(boolean optional)
void setPersistentClass(PersistentClass persistentClass)
void setPropertyAccessorName(String string)
void setSelectable(boolean selectable)
void setUpdateable(boolean mutable)
void setValue(Value value)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.mapping.MetaAttributable

Public Constructors

public Property ()

Public Methods

public String getAccessorPropertyName (EntityMode mode)

public String getCascade ()

public CascadeStyle getCascadeStyle ()

public Iterator getColumnIterator ()

public int getColumnSpan ()

public PropertyGeneration getGeneration ()

public Getter getGetter (Class clazz)

public MetaAttribute getMetaAttribute (String attributeName)

public Map getMetaAttributes ()

public String getName ()

public String getNodeName ()

public PersistentClass getPersistentClass ()

public PropertyAccessor getPropertyAccessor (Class clazz)

public String getPropertyAccessorName ()

public Setter getSetter (Class clazz)

public Type getType ()

public Value getValue ()

public boolean isBackRef ()

public boolean isBasicPropertyAccessor ()

public boolean isComposite ()

public boolean isInsertable ()

public boolean isLazy ()

public boolean isNaturalIdentifier ()

public boolean isOptimisticLocked ()

public boolean isOptional ()

public boolean isPrimitive (Class clazz)

public boolean isSelectable ()

public boolean isSynthetic ()

Does this property represent a synthetic property? A synthetic property is one we create during metamodel binding to represent a collection of columns but which does not represent a property physically available on the entity.

Returns
  • True if synthetic; false otherwise.

public boolean isUpdateable ()

public boolean isValid (Mapping mapping)

public void setCascade (String cascade)

public void setGeneration (PropertyGeneration generation)

public void setInsertable (boolean insertable)

public void setLazy (boolean lazy)

public void setMetaAttributes (Map metas)

public void setName (String name)

public void setNaturalIdentifier (boolean naturalIdentifier)

public void setNodeName (String nodeName)

public void setOptimisticLocked (boolean optimisticLocked)

public void setOptional (boolean optional)

public void setPersistentClass (PersistentClass persistentClass)

public void setPropertyAccessorName (String string)

public void setSelectable (boolean selectable)

public void setUpdateable (boolean mutable)

public void setValue (Value value)

public String toString ()