net.spy.db
Class DBSP.Parameter

java.lang.Object
  extended bynet.spy.db.DBSP.NamedObject
      extended bynet.spy.db.DBSP.Parameter
Enclosing class:
DBSP

public class DBSP.Parameter
extends DBSP.NamedObject

Parameters for DBSPs.


Field Summary
static int OPTIONAL
          Parameter type indicating this is an optional parameter.
static int OUTPUT
          Parameter type indicating this is an output parameter.
static int REQUIRED
          Parameter type indicating this is a required parameter.
 
Constructor Summary
DBSP.Parameter(int paramType, int javaType, String name)
          Construct a new Parameter.
 
Method Summary
 int getJavaType()
          Get the Types type of this parameter.
 int getParamType()
          Get the type of this parameter.
 String toString()
          String me.
 
Methods inherited from class net.spy.db.DBSP.NamedObject
equals, getName, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

REQUIRED

public static final int REQUIRED
Parameter type indicating this is a required parameter.

See Also:
Constant Field Values

OPTIONAL

public static final int OPTIONAL
Parameter type indicating this is an optional parameter.

See Also:
Constant Field Values

OUTPUT

public static final int OUTPUT
Parameter type indicating this is an output parameter.

See Also:
Constant Field Values
Constructor Detail

DBSP.Parameter

public DBSP.Parameter(int paramType,
                      int javaType,
                      String name)
Construct a new Parameter.

Parameters:
paramType - the parameter type (REQUIRED, etc...)
javaType - the Types type
name - name of the parametr
Method Detail

getParamType

public int getParamType()
Get the type of this parameter.


getJavaType

public int getJavaType()
Get the Types type of this parameter.


toString

public String toString()
Description copied from class: DBSP.NamedObject
String me.

Overrides:
toString in class DBSP.NamedObject