org.mule.devkit.model.studio
Class EnumType

java.lang.Object
  extended by org.mule.devkit.model.studio.AttributeType
      extended by org.mule.devkit.model.studio.EnumType

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>
 


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, 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 org.mule.devkit.model.studio.AttributeType
getAlternativeTo, getBottomAnchor, getCaption, getControlled, getCustomValidator, getDescription, getFillLine, getIndented, getJavaType, getLabelledWith, getModeType, getName, 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, setSingeLineForExpressions, setSupportsExpressions, setTopAnchor, setTransientt, setUpdater, setValuePersistence, setVersions, setVisibleInDialog, setXsdType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

option

protected List<EnumElement> option

defaultValue

protected String defaultValue

allowsCustom

protected Boolean allowsCustom
Constructor Detail

EnumType

public EnumType()
Method Detail

getOption

public List<EnumElement> getOption()
Gets the value of the option property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a 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


getDefaultValue

public String getDefaultValue()
Gets the value of the defaultValue property.

Returns:
possible object is String

setDefaultValue

public void setDefaultValue(String value)
Sets the value of the defaultValue property.

Parameters:
value - allowed object is String

isAllowsCustom

public Boolean isAllowsCustom()
Gets the value of the allowsCustom property.

Returns:
possible object is Boolean

setAllowsCustom

public void setAllowsCustom(Boolean value)
Sets the value of the allowsCustom property.

Parameters:
value - allowed object is Boolean


Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.