Class NullableLong

java.lang.Object
com.aquima.web.rest.v1.resource.NullableLong
All Implemented Interfaces:
Comparable<NullableLong>

public class NullableLong extends Object implements Comparable<NullableLong>
Same as java.util.Long
Since:
9.6
Author:
Petru Galanton
  • Constructor Details Link icon

    • NullableLong Link icon

      public NullableLong(Long val)
      Parameters:
      val - the enclosed value, may be null
  • Method Details Link icon

    • hasValue Link icon

      public boolean hasValue()
      Returns:
      true if the value is not null
    • getValue Link icon

      public Long getValue()
      Returns:
      the enclosed value, may be null
    • setValue Link icon

      public void setValue(Long val)
      Sets the enclosed value.
      Parameters:
      val - the enclosed value (may be null)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo Link icon

      public int compareTo(NullableLong o)
      Specified by:
      compareTo in interface Comparable<NullableLong>