|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type of valuepublic interface Field<T>
Base interface for fields.
| Method Summary | |
|---|---|
String |
getDesc()
Returns natural-language description of field. |
T |
getFieldValue()
Returns value of field. |
String |
getLabel()
Returns label of field. |
String |
getType()
Returns field type. |
String |
getVar()
Returns name of field. |
boolean |
isRequired()
Get is this field is required. |
void |
setDesc(String desc)
Set natural-language description of field. |
void |
setFieldValue(T value)
Sets value of field. |
void |
setLabel(String label)
Sets label of field. |
void |
setRequired(boolean isRequired)
Set if this field is required one. |
void |
setVar(String var)
Sets name of field. |
| Method Detail |
|---|
String getDesc()
throws XMLException
XMLException
T getFieldValue()
throws XMLException
XMLException
String getLabel()
throws XMLException
XMLException
String getType()
throws XMLException
XMLException
String getVar()
throws XMLException
XMLException
boolean isRequired()
throws XMLException
true is field is required.
XMLException
void setDesc(String desc)
throws XMLException
desc - description of field
XMLException
void setFieldValue(T value)
throws XMLException
value - value of field
XMLException
void setLabel(String label)
throws XMLException
label - label of field.
XMLException
void setRequired(boolean isRequired)
throws XMLException
isRequired - true is field is required
XMLException
void setVar(String var)
throws XMLException
var - name of field.
XMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||