org.objectweb.jorm.metainfo.api
Interface ScalarField
- All Superinterfaces:
- MetaObject, PrimitiveElement, java.io.Serializable, TypedElement
- All Known Implementing Classes:
- BasicScalarField
- public interface ScalarField
- extends PrimitiveElement
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.
- Author:
- X. Spengler
|
Method Summary |
java.lang.String |
getNullValue()
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. |
setNullValue
public void setNullValue(java.lang.String value)
- Set the null value for this field.
- Parameters:
value - a string representation of the nullvalue
getNullValue
public java.lang.String getNullValue()
- get the null value for this field.
- Returns:
- the string representation of the null value or null if there is no null value for this field.
hasNullValue
public boolean hasNullValue()
- Test if the null value exists for this field.
- Returns:
- true if the null value exist for this field.