|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.mapping.Property
Mapping for a property of a Java class (entity or component)
Constructor Summary | |
Property()
|
Method Summary | |
String |
getCascade()
Returns the cascade. |
Cascades.CascadeStyle |
getCascadeStyle()
|
Iterator |
getColumnIterator()
|
int |
getColumnSpan()
|
Formula |
getFormula()
|
Getter |
getGetter(Class clazz)
|
MetaAttribute |
getMetaAttribute(String name)
|
Map |
getMetaAttributes()
|
String |
getName()
|
String |
getNullValue()
|
protected PropertyAccessor |
getPropertyAccessor()
|
String |
getPropertyAccessorName()
|
Setter |
getSetter(Class clazz)
|
Type |
getType()
|
Value |
getValue()
|
boolean |
isBasicPropertyAccessor()
|
boolean |
isComposite()
|
boolean |
isFormula()
|
boolean |
isInsertable()
Returns the insertable. |
boolean |
isNullable()
Approximate! |
boolean |
isUpdateable()
|
boolean |
isValid(Mapping mapping)
|
void |
setCascade(String cascade)
Sets the cascade. |
void |
setInsertable(boolean insertable)
Sets the insertable. |
void |
setMetaAttributes(Map metas)
|
void |
setName(String name)
Sets the name. |
void |
setPropertyAccessorName(String string)
|
void |
setUpdateable(boolean mutable)
Sets the mutable. |
void |
setValue(Value value)
Sets the value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Property()
Method Detail |
public Type getType()
public int getColumnSpan()
public Iterator getColumnIterator()
public String getName()
public boolean isUpdateable()
public boolean isComposite()
public Value getValue()
public Cascades.CascadeStyle getCascadeStyle() throws MappingException
MappingException
public String getCascade()
public void setCascade(String cascade)
cascade
- The cascade to setpublic void setUpdateable(boolean mutable)
mutable
- The mutable to setpublic void setName(String name)
name
- The name to setpublic void setValue(Value value)
value
- The value to setpublic boolean isInsertable()
public void setInsertable(boolean insertable)
insertable
- The insertable to setpublic Formula getFormula()
public boolean isFormula()
public String getPropertyAccessorName()
public void setPropertyAccessorName(String string)
public boolean isNullable()
public Getter getGetter(Class clazz) throws PropertyNotFoundException, MappingException
public Setter getSetter(Class clazz) throws PropertyNotFoundException, MappingException
protected PropertyAccessor getPropertyAccessor() throws MappingException
MappingException
public boolean isBasicPropertyAccessor()
public Map getMetaAttributes()
public MetaAttribute getMetaAttribute(String name)
public void setMetaAttributes(Map metas)
public boolean isValid(Mapping mapping) throws MappingException
MappingException
public String getNullValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |