|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.pom400.Contributor.Roles
public static class Contributor.Roles
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>
| Field Summary | |
|---|---|
protected List<String> |
role
|
| Constructor Summary | |
|---|---|
Contributor.Roles()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.pom400.Contributor.Roles instance. |
|
Contributor.Roles(Contributor.Roles o)
Creates a new net.sourceforge.ccxjc.it.model.pub.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. |
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 |
|---|
protected List<String> role
| Constructor Detail |
|---|
public Contributor.Roles()
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.pom400.Contributor.Roles instance.
public Contributor.Roles(Contributor.Roles o)
net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.pom400.Contributor.Roles instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public List<String> getRole()
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
public static void copyRole(List<String> source,
List<String> target)
Role.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public Contributor.Roles clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||