net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl
Class PortletCollectionTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl.PortletCollectionTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, PortletCollectionType

public class PortletCollectionTypeImpl
extends Object
implements Serializable, Cloneable, PortletCollectionType

See Also:
Serialized Form

Field Summary
protected  List<PortletNameType> portletName
           
 
Constructor Summary
PortletCollectionTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl.PortletCollectionTypeImpl instance.
PortletCollectionTypeImpl(PortletCollectionTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl.PortletCollectionTypeImpl instance by copying a given instance.
 
Method Summary
 PortletCollectionTypeImpl clone()
          Creates and returns a copy of this object.
static void copyPortletName(List<PortletNameType> source, List<PortletNameType> target)
          Copies all values of property PortletName.
 List<PortletNameType> getPortletName()
          Gets the value of the portletName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portletName

protected List<PortletNameType> portletName
Constructor Detail

PortletCollectionTypeImpl

public PortletCollectionTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl.PortletCollectionTypeImpl instance.


PortletCollectionTypeImpl

public PortletCollectionTypeImpl(PortletCollectionTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.novalueclass.portlet.app100.impl.PortletCollectionTypeImpl instance by copying a given instance.

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

getPortletName

public List<PortletNameType> getPortletName()
Description copied from interface: PortletCollectionType
Gets the value of the portletName 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 portletName property.

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

    getPortletName().add(newItem);
 

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

Specified by:
getPortletName in interface PortletCollectionType

copyPortletName

public static void copyPortletName(List<PortletNameType> source,
                                   List<PortletNameType> target)
Copies all values of property PortletName.

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

clone

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