com.ideo.sweetdev.data.service.datacaller
Class AbstractDataCaller.Null

java.lang.Object
  extended bycom.ideo.sweetdev.data.service.datacaller.AbstractDataCaller.Null
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
AbstractDataCaller

public class AbstractDataCaller.Null
extends java.lang.Object
implements java.io.Serializable

The inner class Null allows to represent a parameter being NULL but Possessing an SQL type. This class is a Javabean having a single property: type.
This class is used because if we call the addParam method () with a parameter equal to Null, it is impossible in Java to determine the type of this parameter

See Also:
Serialized Form
 

Constructor Summary
AbstractDataCaller.Null(int _type)
          Constructor declaration
 
Method Summary
 int getType()
          Method declaration
 void setType(int _type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractDataCaller.Null

public AbstractDataCaller.Null(int _type)
Constructor declaration

Parameters:
_type - int
Method Detail

getType

public int getType()
Method declaration

Returns:
int

setType

public void setType(int _type)
Parameters:
_type - int

toString

public java.lang.String toString()
Returns:
String