net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl
Class BodyImpl.LinksImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.BodyImpl.LinksImpl
All Implemented Interfaces:
Serializable, Cloneable, Body.Links
Enclosing class:
BodyImpl

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

See Also:
Serialized Form

Field Summary
protected  List<LinkItem> item
           
 
Constructor Summary
BodyImpl.LinksImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.BodyImpl.LinksImpl instance.
BodyImpl.LinksImpl(BodyImpl.LinksImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.BodyImpl.LinksImpl instance by copying a given instance.
 
Method Summary
 BodyImpl.LinksImpl clone()
          Creates and returns a copy of this object.
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

BodyImpl.LinksImpl

public BodyImpl.LinksImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.BodyImpl.LinksImpl instance.


BodyImpl.LinksImpl

public BodyImpl.LinksImpl(BodyImpl.LinksImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.maven.decoration100.impl.BodyImpl.LinksImpl instance by copying a given instance.

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

getItem

public List<LinkItem> getItem()
Description copied from interface: Body.Links
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

Specified by:
getItem in interface Body.Links

copyItem

public 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 BodyImpl.LinksImpl 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.