public class MenuType extends Object
Java class for menuType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="menuType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="menu" type="{}menuType" maxOccurs="unbounded" minOccurs="0"/>
<element name="plugin" type="{}pluginType" maxOccurs="unbounded" minOccurs="0"/>
</choice>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
label |
protected List<Object> |
menuOrPlugin |
protected String |
name |
| Constructor and Description |
|---|
MenuType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
Gets the value of the label property.
|
List<Object> |
getMenuOrPlugin()
Gets the value of the menuOrPlugin property.
|
String |
getName()
Gets the value of the name property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
void |
setName(String value)
Sets the value of the name property.
|
public List<Object> getMenuOrPlugin()
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 menuOrPlugin property.
For example, to add a new item, do as follows:
getMenuOrPlugin().add(newItem);
Objects of the following type(s) are allowed in the list
MenuType
PluginType
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getLabel()
StringCopyright © 2017. All rights reserved.