public class BooleanField extends AbstractField<Boolean>
The field enables an entity to gather or provide an either-or choice between two options. The default value is "false".
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getFieldValue()
Returns value of field.
|
static boolean |
parse(String value) |
void |
setFieldValue(Boolean value)
Sets value of field.
|
getDesc, getLabel, getType, getVar, isRequired, setDesc, setLabel, setRequired, setVaraddChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNSpublic static boolean parse(String value)
public Boolean getFieldValue() throws XMLException
XMLExceptionpublic void setFieldValue(Boolean value) throws XMLException
value - value of fieldXMLExceptionCopyright © 2006–2018 Tigase. All rights reserved.