net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl
Class DeveloperImpl.RolesImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.DeveloperImpl.RolesImpl
All Implemented Interfaces:
Serializable, Cloneable, Developer.Roles
Enclosing class:
DeveloperImpl

public static class DeveloperImpl.RolesImpl
extends Object
implements Serializable, Cloneable, Developer.Roles

See Also:
Serialized Form

Field Summary
protected  List<String> role
           
 
Constructor Summary
DeveloperImpl.RolesImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.DeveloperImpl.RolesImpl instance.
DeveloperImpl.RolesImpl(DeveloperImpl.RolesImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.DeveloperImpl.RolesImpl instance by copying a given instance.
 
Method Summary
 DeveloperImpl.RolesImpl clone()
          Creates and returns a copy of this object.
protected static void copyRole(List<String> source, List<String> target)
          Copies all values of property Role.
 List<String> getRole()
          Gets the value of the role property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

role

protected List<String> role
Constructor Detail

DeveloperImpl.RolesImpl

public DeveloperImpl.RolesImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.DeveloperImpl.RolesImpl instance.


DeveloperImpl.RolesImpl

public DeveloperImpl.RolesImpl(DeveloperImpl.RolesImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.pom400.impl.DeveloperImpl.RolesImpl instance by copying a given instance.

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

getRole

public List<String> getRole()
Description copied from interface: Developer.Roles
Gets the value of the role 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 role property.

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

    getRole().add(newItem);
 

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

Specified by:
getRole in interface Developer.Roles

copyRole

protected static void copyRole(List<String> source,
                               List<String> target)
Copies all values of property Role.

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

clone

public DeveloperImpl.RolesImpl 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.