com.elogico.xbound.jdbc.impl
Class StatementParameter

java.lang.Object
  extended by com.elogico.xbound.jdbc.impl.StatementParameter

public class StatementParameter
extends java.lang.Object

A class that represents a parameter for SQL statement.

Version:
$Revision: 1.1 $
Author:
Marco Sarti

Constructor Summary
StatementParameter(int type, java.lang.Object value)
          Build a new StatementParameter with the SQL type and it's current value.
 
Method Summary
 int getType()
          Get the SQL type
 java.lang.Object getValue()
          Get the parameter value
 boolean isNull()
          Test if value is null
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementParameter

public StatementParameter(int type,
                          java.lang.Object value)
Build a new StatementParameter with the SQL type and it's current value.

Parameters:
type - the SQL type
value - the actual value
Method Detail

getType

public int getType()
Get the SQL type

Returns:
Returns the type.

getValue

public java.lang.Object getValue()
Get the parameter value

Returns:
Returns the value.

isNull

public boolean isNull()
Test if value is null

Returns:
true if value is null