public class EnumType extends AttributeType
Java class for EnumType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EnumType">
<complexContent>
<extension base="{http://www.mulesoft.org/schema/mule/tooling.attributes}AttributeType">
<sequence maxOccurs="unbounded">
<element name="option" type="{http://www.mulesoft.org/schema/mule/tooling.attributes}EnumElement"/>
</sequence>
<attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="allowsCustom" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowsCustom |
protected String |
defaultValue |
protected List<EnumElement> |
option |
alternativeTo, alwaysFill, bottomAnchor, caption, controlled, customValidator, description, fillLine, hiddenForUser, indented, javaType, labelledWith, modeType, name, required, requiredForDataSense, singeLineForExpressions, supportsExpressions, topAnchor, transientt, updater, valuePersistence, versions, visibleInDialog, xsdType| Constructor and Description |
|---|
EnumType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue()
Gets the value of the defaultValue property.
|
List<EnumElement> |
getOption()
Gets the value of the option property.
|
Boolean |
isAllowsCustom()
Gets the value of the allowsCustom property.
|
void |
setAllowsCustom(Boolean value)
Sets the value of the allowsCustom property.
|
void |
setDefaultValue(String value)
Sets the value of the defaultValue property.
|
getAlternativeTo, getBottomAnchor, getCaption, getControlled, getCustomValidator, getDescription, getFillLine, getIndented, getJavaType, getLabelledWith, getModeType, getName, getRequiredForDataSense, getSingeLineForExpressions, getTopAnchor, getUpdater, getValuePersistence, getVersions, getXsdType, isAlwaysFill, isHiddenForUser, isRequired, isSupportsExpressions, isTransientt, isVisibleInDialog, setAlternativeTo, setAlwaysFill, setBottomAnchor, setCaption, setControlled, setCustomValidator, setDescription, setFillLine, setHiddenForUser, setIndented, setJavaType, setLabelledWith, setModeType, setName, setRequired, setRequiredForDataSense, setSingeLineForExpressions, setSupportsExpressions, setTopAnchor, setTransientt, setUpdater, setValuePersistence, setVersions, setVisibleInDialog, setXsdTypeprotected List<EnumElement> option
protected String defaultValue
protected Boolean allowsCustom
public List<EnumElement> getOption()
set method for the option property.
For example, to add a new item, do as follows:
getOption().add(newItem);
Objects of the following type(s) are allowed in the list
EnumElementpublic String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic Boolean isAllowsCustom()
BooleanCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.