com.versionone
Class DB.NullObject

java.lang.Object
  extended by com.versionone.DB
      extended by com.versionone.DB.NullObject
Enclosing class:
DB

public static class DB.NullObject
extends DB

Represents a NULL DB object


Nested Class Summary
 
Nested classes/interfaces inherited from class com.versionone.DB
DB.BigInt, DB.Bit, DB.DateTime, DB.Int, DB.NullObject, DB.Real, DB.Str
 
Field Summary
 
Fields inherited from class com.versionone.DB
Null
 
Method Summary
 boolean equals(java.lang.Object obj)
          Return true if the object is null, the object is an instance of NullObject or if the other object is a DB, then true if the other object is null.
 java.lang.Object getValue()
          Returns null
 int hashCode()
          returns 0
 java.lang.String toString()
          returns the empty string
 
Methods inherited from class com.versionone.DB
isNull
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object obj)
Return true if the object is null, the object is an instance of NullObject or if the other object is a DB, then true if the other object is null.

Specified by:
equals in class DB

getValue

public java.lang.Object getValue()
Returns null

Specified by:
getValue in class DB
Returns:

hashCode

public int hashCode()
returns 0

Overrides:
hashCode in class DB

toString

public java.lang.String toString()
returns the empty string

Overrides:
toString in class DB