Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.openxml4j.util
Class Nullable

    java.lang.Object
      org.apache.poi.openxml4j.util.Nullable

    public final class Nullable

extends java.lang.Object

An immutable object that could be defined as null.

Version:
  0.9
Author:
  Julien Chable

Constructor Summary
`Nullable()` Constructor.
`Nullable(java.lang.Object value)` Constructor.

Method Summary
`java.lang.Object` | `getValue()` Get the store value if any.
`boolean` | `hasValue()` Get the status of this nullable.
`void` | `nullify()` Set the stored value to null.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Nullable

    public Nullable()

  Constructor.

### Nullable

    public Nullable(java.lang.Object value)

  Constructor.

  Parameters:
    `value` - The value to set to this nullable.

Method Detail

### getValue

    public java.lang.Object getValue()

  Get the store value if any.

  Returns:
    the store value

### hasValue

    public boolean hasValue()

  Get the status of this nullable.

  Returns:
    true if the nullable store a value (empty string is considered to be a value) else false.

### nullify

    public void nullify()

  Set the stored value to null.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD