|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ScalarField describes corresponds to a hidden field of a ClassObject or a Generic Class. For Classes, it is typically used to represent PNames. For Generic Class, it can also be used for the index attributes of the Generic Class.
Field Summary |
---|
Fields inherited from interface org.objectweb.jorm.metainfo.api.PrimitiveElement |
---|
CONSTANT_NON_PERSISTENT, CONSTANT_PERSISTENT, VARIABLE_PERSISTENT |
Method Summary | |
---|---|
java.lang.String |
getNullValue()
get the null value for this field. |
java.lang.Object |
getNullValueObject()
get the null value for this field |
boolean |
hasNullValue()
Test if the null value exists for this field. |
void |
setNullValue(java.lang.String value)
Set the null value for this field. |
Methods inherited from interface org.objectweb.jorm.metainfo.api.PrimitiveElement |
---|
getScale, getSize, getStatus, isAutoCalculated, isConstant, isPersistent, isScalar, setIsAutoCalculated, setStatus |
Methods inherited from interface org.objectweb.jorm.metainfo.api.TypedElement |
---|
getName, getType |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
---|
getParent, setParent |
Method Detail |
public void setNullValue(java.lang.String value)
value
- a string representation of the nullvaluepublic java.lang.String getNullValue()
public java.lang.Object getNullValueObject()
public boolean hasNullValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |