com.jmrosengard.xmlbroker.parser
Class Parameter

java.lang.Object
  |
  +--com.jmrosengard.xmlbroker.parser.Parameter

public class Parameter
extends java.lang.Object

Defines a method parameter -- with a mode and value.


Field Summary
private  int mode
           
static int MODE_IN
           
static int MODE_OUT
           
private  java.lang.String name
           
private  java.lang.String val
           
 
Constructor Summary
Parameter(java.lang.String name, int mode)
           
 
Method Summary
 int getMode()
          Return the passing mode of the parameter (MODE_IN or MODE_OUT)
 java.lang.String getName()
          Return the nem of the parameter
 java.lang.String getValue()
          Return the value of the parameter
 boolean isSet()
          Return true if the parameter's value is set.
 void setValue(java.lang.String val)
          Set the value of the parameter
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

MODE_IN

public static final int MODE_IN

MODE_OUT

public static final int MODE_OUT

mode

private int mode

name

private java.lang.String name

val

private java.lang.String val
Constructor Detail

Parameter

public Parameter(java.lang.String name,
                 int mode)
Method Detail

setValue

public void setValue(java.lang.String val)
Set the value of the parameter

getValue

public java.lang.String getValue()
Return the value of the parameter

getMode

public int getMode()
Return the passing mode of the parameter (MODE_IN or MODE_OUT)

getName

public java.lang.String getName()
Return the nem of the parameter

isSet

public boolean isSet()
Return true if the parameter's value is set.