net.spy.db
Class DBNull

java.lang.Object
  extended by net.spy.db.DBNull

public class DBNull
extends java.lang.Object

Represents NULL data in DB parameters and stuff.


Constructor Summary
DBNull(int t)
          Get a new null object.
 
Method Summary
 boolean equals(java.lang.Object o)
          True if o is a DBNull of the same type.
 int getType()
          Get the data type of this nullness.
 int hashCode()
          Get the hashcode for this object.
 java.lang.String toString()
          String me.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBNull

public DBNull(int t)
Get a new null object.

Method Detail

getType

public int getType()
Get the data type of this nullness.


hashCode

public int hashCode()
Get the hashcode for this object.

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
String me.

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
True if o is a DBNull of the same type.

Overrides:
equals in class java.lang.Object


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.