org.araneaframework.backend.list.helper
Class NullValue

java.lang.Object
  extended byorg.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

Constructor Summary
NullValue(int type)
           
 
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
 

Constructor Detail

NullValue

public NullValue(int type)
Method Detail

getType

public int getType()
Returns the type.

Returns:
the type.

setType

public void setType(int type)
Sets the type.

Parameters:
type - type.