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

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

public static class Body.Links
extends Object
implements Serializable, Cloneable

Java class for anonymous complex type.

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

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

See Also:
Serialized Form

Field Summary
protected  List<LinkItem> item
           
 
Constructor Summary
Body.Links()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body.Links instance.
Body.Links(Body.Links o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.decoration100.Body.Links instance by copying a given instance.
 
Method Summary
 Body.Links clone()
          Creates and returns a copy of this object.
protected static void copyItem(List<LinkItem> source, List<LinkItem> target)
          Copies all values of property Item.
 List<LinkItem> getItem()
          Gets the value of the item property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

item

protected List<LinkItem> item
Constructor Detail

Body.Links

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


Body.Links

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

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

getItem

public List<LinkItem> 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 LinkItem


copyItem

protected static void copyItem(List<LinkItem> source,
                               List<LinkItem> target)
Copies all values of property Item.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

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