faa.tg.aidl
Class AidlInstruction

java.lang.Object
  extended by faa.tg.aidl.AidlInstruction
All Implemented Interfaces:
java.io.Serializable

public class AidlInstruction
extends java.lang.Object
implements java.io.Serializable

Contains an AIDL instruction See the source AidlInstruction.java

Version:
$Id: AidlInstruction.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  InstructionClasses instructClass
           
private  java.util.Vector<AidlParameter> params
           
(package private) static long serialVersionUID
           
private  Specifier specifier
           
private  java.util.Vector<AidlTrigger> triggers
           
 
Constructor Summary
AidlInstruction(InstructionClasses instructClass, Specifier specifier)
          Constructor
 
Method Summary
 void add(AidlParameter param)
          Add given param to list
 void add(AidlTrigger trigger)
          Add given trigger to list
 InstructionClasses getInstructionClass()
          Returns the instruction Class
 java.util.Iterator<AidlParameter> getParameters()
          Returns an iterator of the instructions parameters
 Element toXml()
          Retuns an XML representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

params

private java.util.Vector<AidlParameter> params

triggers

private java.util.Vector<AidlTrigger> triggers

instructClass

private InstructionClasses instructClass

specifier

private Specifier specifier
Constructor Detail

AidlInstruction

public AidlInstruction(InstructionClasses instructClass,
                       Specifier specifier)
Constructor

Parameters:
instructClass - - the class of the instruction
specifier - - the instruction specifier (if any)
Method Detail

add

public void add(AidlTrigger trigger)
Add given trigger to list


add

public void add(AidlParameter param)
Add given param to list


toXml

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


getParameters

public java.util.Iterator<AidlParameter> getParameters()
Returns an iterator of the instructions parameters


getInstructionClass

public InstructionClasses getInstructionClass()
Returns the instruction Class