|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObject
org.jomc.model.Arguments
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class ArgumentsList of arguments.
Argument| Field Summary | |
|---|---|
protected List<Argument> |
argument
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, deprecated, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Arguments()
Creates a new Arguments instance. |
|
Arguments(Arguments o)
Creates a new Arguments instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Arguments |
clone()
Creates and returns a deep copy of this object. |
private static void |
copyArgument(List<Argument> source,
List<Argument> target)
Copies all values of property Argument deeply. |
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. |
| Methods inherited from class org.jomc.model.ModelObject |
|---|
getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<Argument> argument
| Constructor Detail |
|---|
public Arguments()
Arguments instance.
public Arguments(Arguments o)
Arguments instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
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="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static void copyArgument(List<Argument> source,
List<Argument> target)
Argument deeply.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-02T06:07:50+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Arguments clone()
clone in class ModelObjectpublic Argument getArgument(String name)
name - The name of the argument to return.
name from the list or
null, if no argument matching name is found.
NullPointerException - if name is null.getArgument()public Argument getArgument(int index)
index - The index of the argument to return.
index from the list.
IndexOutOfBoundsException - if index is negative, greater
or equal to the size of the list of arguments.getArgument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||