|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by RFld and subclasses.
Method Summary | |
java.lang.String |
getDesc()
Get message description. |
int |
getId()
Get field id. |
java.lang.String |
getName()
Get field name. |
java.lang.String |
getPropertyName()
Get property name. |
RFldType |
getType()
Get field type. |
java.util.Hashtable |
getValueAsHashtable()
Get the field value as a java.util.Hashtable. |
java.lang.Object |
getValueAsObject()
Get the field value as an object. |
boolean |
isConstrained()
Check if field value has constrained. |
boolean |
isLocked()
Check if field is locked. |
boolean |
isProperty()
Check if this field is a property. |
boolean |
isValSet()
Check if field value has been set. |
void |
marshal(java.io.Writer writer,
int indentLevel,
java.lang.String indent,
boolean newLines,
boolean expandEmptyElem)
Marshall the field as XML to target writer. |
RFld |
set(org.jdom.Element newData)
Set data from JDOM element. |
RFld |
set(java.lang.Object fld)
Set state from an Object. |
Method Detail |
public java.lang.String getName()
public int getId()
public java.lang.String getDesc()
public RFldType getType()
RFldType
public boolean isValSet()
public boolean isConstrained()
public boolean isLocked()
public boolean isProperty()
true
if this field is a property.getPropertyName()
public java.lang.String getPropertyName()
null
if this field is not a property.isProperty()
public RFld set(java.lang.Object fld) throws FieldValidationException
fld
- Source object.
FieldValidationException
public RFld set(org.jdom.Element newData) throws FieldValidationException
newData
- New data.
FieldValidationException
public java.lang.Object getValueAsObject()
public java.util.Hashtable getValueAsHashtable() throws FieldValidationException
FieldValidationException
public void marshal(java.io.Writer writer, int indentLevel, java.lang.String indent, boolean newLines, boolean expandEmptyElem) throws ConverterException
writer
- Output target.indent
- Indentation.newLines
- Newlines are inserted after each element if true.expandEmptyElem
- Empty elements - elements with no content - are expanded if true.
ConverterException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |