net.spy.db
Class DBSP.Argument

java.lang.Object
  extended by net.spy.db.DBSP.NamedObject
      extended by net.spy.db.DBSP.Argument
Enclosing class:
DBSP

public class DBSP.Argument
extends DBSP.NamedObject

Arguments for DBSPs.


Constructor Summary
DBSP.Argument(int jType, String name, Object v)
          Construct a new Argument.
 
Method Summary
 int getJavaType()
          Get the Types type of this parameter.
 Object getValue()
          Get the value of this argument.
 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
 

Constructor Detail

DBSP.Argument

public DBSP.Argument(int jType,
                     String name,
                     Object v)
Construct a new Argument.

Parameters:
jType - the Types type
name - name of the parametr
Method Detail

getJavaType

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


getValue

public Object getValue()
Get the value of this argument.

Returns:
the object passed in at construct time unless it was null, in which case it will be an appropriate DBNull object

toString

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

Overrides:
toString in class DBSP.NamedObject


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.