|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.MenuItem
public class MenuItem
A menu item.
Java class for MenuItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MenuItem">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}MenuItem" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="collapse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Boolean |
collapse
|
protected String |
description
|
protected String |
href
|
protected List<MenuItem> |
item
|
protected String |
name
|
protected String |
ref
|
| Constructor Summary | |
|---|---|
MenuItem()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.MenuItem instance. |
|
MenuItem(MenuItem o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.MenuItem instance by copying a given instance. |
|
| Method Summary | |
|---|---|
MenuItem |
clone()
Creates and returns a copy of this object. |
protected static void |
copyItem(List<MenuItem> source,
List<MenuItem> target)
Copies all values of property Item. |
String |
getDescription()
Gets the value of the description property. |
String |
getHref()
Gets the value of the href property. |
List<MenuItem> |
getItem()
Gets the value of the item property. |
String |
getName()
Gets the value of the name property. |
String |
getRef()
Gets the value of the ref property. |
boolean |
isCollapse()
Gets the value of the collapse property. |
void |
setCollapse(Boolean value)
Sets the value of the collapse property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setHref(String value)
Sets the value of the href property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setRef(String value)
Sets the value of the ref property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected List<MenuItem> item
protected Boolean collapse
protected String ref
protected String name
protected String href
| Constructor Detail |
|---|
public MenuItem()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.MenuItem instance.
public MenuItem(MenuItem o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.MenuItem instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<MenuItem> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
MenuItem
public boolean isCollapse()
Booleanpublic void setCollapse(Boolean value)
value - allowed object is
Booleanpublic String getRef()
Stringpublic void setRef(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is
String
protected static void copyItem(List<MenuItem> source,
List<MenuItem> target)
Item.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public MenuItem clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||