net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.pom400
Class Contributor.Roles

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.pom400.Contributor.Roles
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
Contributor

public static class Contributor.Roles
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="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<String> role
           
 
Constructor Summary
Contributor.Roles()
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.pom400.Contributor.Roles instance.
Contributor.Roles(Contributor.Roles o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.pom400.Contributor.Roles instance by copying a given instance.
 
Method Summary
 Contributor.Roles clone()
          Creates and returns a copy of this object.
 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

Contributor.Roles

public Contributor.Roles()
Creates a new net.sourceforge.ccxjc.it.model.priv.collections.valueclass.maven.pom400.Contributor.Roles instance.


Contributor.Roles

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

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

getRole

public List<String> getRole()
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


clone

public Contributor.Roles 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.