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

All Known Implementing Classes:
MenuImpl

public interface Menu

A menu in the navigation.

Java class for Menu complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Menu">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}MenuItem" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="inherit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="inheritAsRef" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="img" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getImg()
          Gets the value of the img property.
 String getInherit()
          Gets the value of the inherit 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 isInheritAsRef()
          Gets the value of the inheritAsRef property.
 void setImg(String value)
          Sets the value of the img property.
 void setInherit(String value)
          Sets the value of the inherit property.
 void setInheritAsRef(Boolean value)
          Sets the value of the inheritAsRef 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

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


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

getInherit

String getInherit()
Gets the value of the inherit property.

Returns:
possible object is String

setInherit

void setInherit(String value)
Sets the value of the inherit property.

Parameters:
value - allowed object is String

isInheritAsRef

boolean isInheritAsRef()
Gets the value of the inheritAsRef property.

Returns:
possible object is Boolean

setInheritAsRef

void setInheritAsRef(Boolean value)
Sets the value of the inheritAsRef 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

getImg

String getImg()
Gets the value of the img property.

Returns:
possible object is String

setImg

void setImg(String value)
Sets the value of the img property.

Parameters:
value - allowed object is String


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