public interface ChooseType extends XmlObject
Modifier and Type | Interface and Description |
---|---|
static class |
ChooseType.Factory
A factory class with static methods for creating instances
of this type.
|
Modifier and Type | Field and Description |
---|---|
static SchemaType |
type |
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
Modifier and Type | Method and Description |
---|---|
OtherwiseType |
addNewOtherwise()
Appends and returns a new empty "Otherwise" element
|
WhenType |
addNewWhen()
Appends and returns a new empty value (as xml) as the last "When" element
|
String |
getLabel()
Gets the "Label" attribute
|
OtherwiseType |
getOtherwise()
Gets the "Otherwise" element
|
WhenType[] |
getWhenArray()
Deprecated.
|
WhenType |
getWhenArray(int i)
Gets ith "When" element
|
List<WhenType> |
getWhenList()
Gets a List of "When" elements
|
WhenType |
insertNewWhen(int i)
Inserts and returns a new empty value (as xml) as the ith "When" element
|
boolean |
isSetLabel()
True if has "Label" attribute
|
boolean |
isSetOtherwise()
True if has "Otherwise" element
|
void |
removeWhen(int i)
Removes the ith "When" element
|
void |
setLabel(String label)
Sets the "Label" attribute
|
void |
setOtherwise(OtherwiseType otherwise)
Sets the "Otherwise" element
|
void |
setWhenArray(int i,
WhenType when)
Sets ith "When" element
|
void |
setWhenArray(WhenType[] whenArray)
Sets array of all "When" element
|
int |
sizeOfWhenArray()
Returns number of "When" element
|
void |
unsetLabel()
Unsets the "Label" attribute
|
void |
unsetOtherwise()
Unsets the "Otherwise" element
|
XmlString |
xgetLabel()
Gets (as xml) the "Label" attribute
|
void |
xsetLabel(XmlString label)
Sets (as xml) the "Label" attribute
|
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
static final SchemaType type
@Deprecated WhenType[] getWhenArray()
WhenType getWhenArray(int i)
int sizeOfWhenArray()
void setWhenArray(WhenType[] whenArray)
void setWhenArray(int i, WhenType when)
WhenType insertNewWhen(int i)
WhenType addNewWhen()
void removeWhen(int i)
OtherwiseType getOtherwise()
boolean isSetOtherwise()
void setOtherwise(OtherwiseType otherwise)
OtherwiseType addNewOtherwise()
void unsetOtherwise()
String getLabel()
XmlString xgetLabel()
boolean isSetLabel()
void setLabel(String label)
void xsetLabel(XmlString label)
void unsetLabel()