org.araneaframework.backend.list.helper
Class NullValue
java.lang.Object
org.araneaframework.backend.list.helper.NullValue
- All Implemented Interfaces:
- Serializable
- public class NullValue
- extends Object
- implements Serializable
This class represents the null value that will be passed to
PreparedStatement.setNull. It is used to pass the information
about corresponding SQL type.
- Author:
- Jevgeni Kabanov (ekabanov at araneaframework dot org)
- See Also:
- Serialized Form
|
Method Summary |
int |
getType()
Returns the type. |
void |
setType(int type)
Sets the type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullValue
public NullValue(int type)
getType
public int getType()
- Returns the type.
- Returns:
- the type.
setType
public void setType(int type)
- Sets the type.
- Parameters:
type - type.