|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mule.devkit.model.studio.AttributeType
org.mule.devkit.model.studio.EnumType
public class EnumType
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>
| Field Summary | |
|---|---|
protected Boolean |
allowsCustom
|
protected String |
defaultValue
|
protected List<EnumElement> |
option
|
| Fields inherited from class org.mule.devkit.model.studio.AttributeType |
|---|
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 Summary | |
|---|---|
EnumType()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<EnumElement> option
protected String defaultValue
protected Boolean allowsCustom
| Constructor Detail |
|---|
public EnumType()
| Method Detail |
|---|
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
EnumElement
public String getDefaultValue()
Stringpublic void setDefaultValue(String value)
value - allowed object is
Stringpublic Boolean isAllowsCustom()
Booleanpublic void setAllowsCustom(Boolean value)
value - allowed object is
Boolean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||