faa.tg.aidl
Class AidlParameter

java.lang.Object
  extended by faa.tg.aidl.AidlParameter
All Implemented Interfaces:
AidlObject, HasName, Filterable, ManagedObject, java.io.Serializable

public class AidlParameter
extends java.lang.Object
implements AidlObject

Contians a aidl parameter See the source AidlParameter.java

Version:
$Id: AidlParameter.java,v 1.3 2008/06/05 14:37:44 samf Exp $
Author:
Sam Fullerton, L-3 Titan
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.lang.Integer href
           
private  int index
           
private  java.lang.String name
           
private  ParameterClasses paramClass
           
(package private) static long serialVersionUID
           
 
Constructor Summary
AidlParameter(int index, ParameterClasses paramClass, java.lang.String name, java.lang.Integer href)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns whether this object is equal to the given object
 java.lang.Integer getHref()
          Returns reference if any
 int getIndex()
          Returns Aidl index
 java.lang.String getName()
          Returns a unique name Required by HasName inteface
 java.lang.String toString()
          Returns a string representation of this object
 Element toXml()
          Retuns an XML representation of this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

index

private int index

paramClass

private ParameterClasses paramClass

name

private java.lang.String name

href

private java.lang.Integer href
Constructor Detail

AidlParameter

public AidlParameter(int index,
                     ParameterClasses paramClass,
                     java.lang.String name,
                     java.lang.Integer href)
Constructor

Parameters:
paramClass - - the type of param
index - - the aidl index of the parameter
name - - the name of the parameter
href - - the index of another parameter to refer to (if any)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns whether this object is equal to the given object

Specified by:
equals in interface AidlObject
Overrides:
equals in class java.lang.Object
Parameters:
obj - - the object to check

getIndex

public int getIndex()
Returns Aidl index

Specified by:
getIndex in interface AidlObject

getHref

public java.lang.Integer getHref()
Returns reference if any


getName

public java.lang.String getName()
Returns a unique name Required by HasName inteface

Specified by:
getName in interface ManagedObject
Returns:
Returns the name of the object.

toString

public java.lang.String toString()
Returns a string representation of this object

Specified by:
toString in interface AidlObject
Overrides:
toString in class java.lang.Object

toXml

public Element toXml()
Retuns an XML representation of this object

Specified by:
toXml in interface AidlObject