net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.maven.decoration100
Interface MenuItem

All Known Implementing Classes:
MenuItemImpl

public interface 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>
 


Method Summary
 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.
 

Method Detail

getDescription

String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getItem

List<MenuItem> getItem()
Gets the value of the item 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 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


isCollapse

boolean isCollapse()
Gets the value of the collapse property.

Returns:
possible object is Boolean

setCollapse

void setCollapse(Boolean value)
Sets the value of the collapse property.

Parameters:
value - allowed object is Boolean

getRef

String getRef()
Gets the value of the ref property.

Returns:
possible object is String

setRef

void setRef(String value)
Sets the value of the ref property.

Parameters:
value - allowed object is String

getName

String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getHref

String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

void setHref(String value)
Sets the value of the href property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.