net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc
Class Argument

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.ModelObject
      extended by net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Argument
All Implemented Interfaces:
Serializable, Cloneable

public class Argument
extends ModelObject
implements Serializable, Cloneable

Argument meta-data.

An argument consists of the properties index, name and type. Property index holds the index of the argument in a list of arguments. Property name holds the name uniquely identifying the argument in a set of arguments. Property type holds the type of the argument.

See Also:
Serialized Form

Field Summary
protected  int index
           
protected  String name
           
protected  ArgumentType type
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Argument()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Argument instance.
Argument(Argument o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Argument instance by copying a given instance.
 
Method Summary
 Argument clone()
          Creates and returns a copy of this object.
 int getIndex()
          Index of this argument.
 String getName()
          Name of this argument.
 ArgumentType getType()
          Type of this argument.
 void setIndex(int value)
          Sets the value of the index property.
 void setName(String value)
          Sets the value of the name property.
 void setType(ArgumentType value)
          Sets the value of the type property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

protected int index

name

protected String name

type

protected ArgumentType type
Constructor Detail

Argument

public Argument()
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Argument instance.


Argument

public Argument(Argument o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.indexed.valueclass.jomc.Argument instance by copying a given instance.

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

getIndex

public int getIndex()
Index of this argument.


setIndex

public void setIndex(int value)
Sets the value of the index property.


getName

public String getName()
Name of this argument.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public ArgumentType getType()
Type of this argument.

Returns:
possible object is ArgumentType

setType

public void setType(ArgumentType value)
Sets the value of the type property.

Parameters:
value - allowed object is ArgumentType

clone

public Argument clone()
Creates and returns a copy of this object.

Overrides:
clone in class ModelObject
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.