net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100
Class Menu

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Menu
All Implemented Interfaces:
Serializable, Cloneable

public class Menu
extends Object
implements Serializable, Cloneable

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>
 

See Also:
Serialized Form

Field Summary
protected  String img
           
protected  String inherit
           
protected  Boolean inheritAsRef
           
protected  List<MenuItem> item
           
protected  String name
           
protected  String ref
           
 
Constructor Summary
Menu()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Menu instance.
Menu(Menu o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Menu instance by copying a given instance.
 
Method Summary
 Menu clone()
          Creates and returns a copy of this object.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected List<MenuItem> item

name

protected String name

inherit

protected String inherit

inheritAsRef

protected Boolean inheritAsRef

ref

protected String ref

img

protected String img
Constructor Detail

Menu

public Menu()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Menu instance.


Menu

public Menu(Menu o)
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Menu instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getItem

public 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

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getInherit

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

Returns:
possible object is String

setInherit

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

Parameters:
value - allowed object is String

isInheritAsRef

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

Returns:
possible object is Boolean

setInheritAsRef

public void setInheritAsRef(Boolean value)
Sets the value of the inheritAsRef property.

Parameters:
value - allowed object is Boolean

getRef

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

Returns:
possible object is String

setRef

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

Parameters:
value - allowed object is String

getImg

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

Returns:
possible object is String

setImg

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

Parameters:
value - allowed object is String

clone

public Menu clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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