
@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Arguments extends ModelObject implements Cloneable
Java class for Arguments complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Arguments">
<complexContent>
<extension base="{http://jomc.org/model}ModelObject">
<sequence>
<element ref="{http://jomc.org/model}argument" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Argument> |
argument |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
Arguments()
Creates a new
Arguments instance. |
Arguments(Arguments o)
Creates a new
Arguments instance by deeply copying a given Arguments instance. |
| Modifier and Type | Method and Description |
|---|---|
Arguments |
clone()
Creates and returns a deep copy of this object.
|
List<Argument> |
getArgument()
Gets the value of the argument property.
|
Argument |
getArgument(int index)
Gets an argument for a given index from the list of arguments.
|
Argument |
getArgument(String name)
Gets an argument for a given name from the list of arguments.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersionpublic Arguments()
Arguments instance.public Arguments(Arguments o)
Arguments instance by deeply copying a given Arguments instance.o - The instance to copy.NullPointerException - if o is null.@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<Argument> getArgument()
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 argument property.
For example, to add a new item, do as follows:
getArgument().add(newItem);
Objects of the following type(s) are allowed in the list
Argument
@Generated(value="com.sun.tools.xjc.Driver", date="2014-02-21T04:13:17+01:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Arguments clone()
clone in class ModelObjectpublic Argument getArgument(String name)
name - The name of the argument to return.null, if no such argument is found.NullPointerException - if name is null.getArgument(),
Argument.getName()public Argument getArgument(int index)
index - The index of the argument to return.null, if no such argument is found.IndexOutOfBoundsException - if index is negative, greater or equal to the size of the list of
arguments.getArgument(),
Argument.getIndex()Copyright © 2005–2014 The JOMC Project. All rights reserved.