com.versionone

## Class DB.NullObject

- java.lang.Object
- - com.versionone.DB
  - - com.versionone.DB.NullObject

- Enclosing class:
    DB

      public static class DB.NullObject
      extends DB

  Represents a NULL DB object
  Author:
    jerry

- - ### 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

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(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.
    `Object` | `getValue()` Returns null
    `int` | `hashCode()` returns 0
    `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(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 Object getValue()

      Returns null
      Specified by:
        `getValue` in class `DB`
      Returns:
        Object

    - #### hashCode

          public int hashCode()

      returns 0
      Overrides:
        `hashCode` in class `DB`

    - #### toString

          public String toString()

      returns the empty string
      Overrides:
        `toString` in class `DB`

Copyright © 2022 VersionOne, Inc.. All rights reserved.