com.ideo.sweetdev.data.service.datacaller
Class AbstractDataCaller.Null
java.lang.Object
com.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
-
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractDataCaller.Null
public AbstractDataCaller.Null(int _type)
- Constructor declaration
- Parameters:
_type - int
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