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

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

public class Body
extends Object
implements Serializable, Cloneable

The main content decoration.

Java class for Body complex type.

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

 <complexType name="Body">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="head" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="links" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}LinkItem" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="breadcrumbs" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="item" type="{http://maven.apache.org/DECORATION/1.0.0}LinkItem" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="menu" type="{http://maven.apache.org/DECORATION/1.0.0}Menu" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Nested Class Summary
static class Body.Breadcrumbs
          Java class for anonymous complex type.
static class Body.Head
          Java class for anonymous complex type.
static class Body.Links
          Java class for anonymous complex type.
 
Field Summary
protected  Body.Breadcrumbs breadcrumbs
           
protected  Body.Head head
           
protected  Body.Links links
           
protected  List<Menu> menu
           
 
Constructor Summary
Body()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Body instance.
Body(Body o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.decoration100.Body instance by copying a given instance.
 
Method Summary
 Body clone()
          Creates and returns a copy of this object.
 Body.Breadcrumbs getBreadcrumbs()
          Gets the value of the breadcrumbs property.
 Body.Head getHead()
          Gets the value of the head property.
 Body.Links getLinks()
          Gets the value of the links property.
 List<Menu> getMenu()
          Gets the value of the menu property.
 void setBreadcrumbs(Body.Breadcrumbs value)
          Sets the value of the breadcrumbs property.
 void setHead(Body.Head value)
          Sets the value of the head property.
 void setLinks(Body.Links value)
          Sets the value of the links property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

head

protected Body.Head head

links

protected Body.Links links

breadcrumbs

protected Body.Breadcrumbs breadcrumbs

menu

protected List<Menu> menu
Constructor Detail

Body

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


Body

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

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

getHead

public Body.Head getHead()
Gets the value of the head property.

Returns:
possible object is Body.Head

setHead

public void setHead(Body.Head value)
Sets the value of the head property.

Parameters:
value - allowed object is Body.Head

getLinks

public Body.Links getLinks()
Gets the value of the links property.

Returns:
possible object is Body.Links

setLinks

public void setLinks(Body.Links value)
Sets the value of the links property.

Parameters:
value - allowed object is Body.Links

getBreadcrumbs

public Body.Breadcrumbs getBreadcrumbs()
Gets the value of the breadcrumbs property.

Returns:
possible object is Body.Breadcrumbs

setBreadcrumbs

public void setBreadcrumbs(Body.Breadcrumbs value)
Sets the value of the breadcrumbs property.

Parameters:
value - allowed object is Body.Breadcrumbs

getMenu

public List<Menu> getMenu()
Gets the value of the menu 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 menu property.

For example, to add a new item, do as follows:

    getMenu().add(newItem);
 

Objects of the following type(s) are allowed in the list Menu


clone

public Body 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.