org.jomc.model
Class Arguments

Package class diagram package Arguments
java.lang.Object
  extended by org.jomc.model.ModelObject
      extended by org.jomc.model.Arguments
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Arguments
extends ModelObject
implements Cloneable

List of arguments.

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>
 


Field Summary
protected  List<Argument> argument
           
 
Fields inherited from class org.jomc.model.ModelObject
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
 
Constructor Summary
Arguments()
          Creates a new Arguments instance.
Arguments(Arguments o)
          Creates a new Arguments instance by deeply copying a given Arguments instance.
 
Method Summary
 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.
 
Methods inherited from class org.jomc.model.ModelObject
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, 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

argument

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Argument> argument
Constructor Detail

Arguments

public Arguments()
Creates a new Arguments instance.


Arguments

public Arguments(Arguments o)
Creates a new Arguments instance by deeply copying a given Arguments instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getArgument

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<Argument> getArgument()
Gets the value of the argument 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 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


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Arguments clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class ModelObject
Returns:
A deep copy of this object.

getArgument

public Argument getArgument(String name)
Gets an argument for a given name from the list of arguments.

Parameters:
name - The name of the argument to return.
Returns:
The first matching argument or null, if no such argument is found.
Throws:
NullPointerException - if name is null.
See Also:
getArgument(), Argument.getName()

getArgument

public Argument getArgument(int index)
Gets an argument for a given index from the list of arguments.

Parameters:
index - The index of the argument to return.
Returns:
The first matching argument or null, if no such argument is found.
Throws:
IndexOutOfBoundsException - if index is negative, greater or equal to the size of the list of arguments.
See Also:
getArgument(), Argument.getIndex()


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.