gov.noaa.pmel.util
Class SoTValue.Integer

java.lang.Object
  extended by gov.noaa.pmel.util.SoTValue
      extended by gov.noaa.pmel.util.SoTValue.Integer
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SoTValue

public static class SoTValue.Integer
extends SoTValue

Inner class for SoTRange for type int.

Since:
sgt 2.0
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class gov.noaa.pmel.util.SoTValue
SoTValue.Double, SoTValue.Float, SoTValue.GeoDate, SoTValue.Integer, SoTValue.Short, SoTValue.Time
 
Constructor Summary
SoTValue.Integer()
          Default constructor.
SoTValue.Integer(int value)
          Construct and initialize value.
 
Method Summary
 void add(SoTValue val)
          Add to value.
 boolean equals(SoTValue val)
          Test for equality
 GeoDate getGeoDate()
          Get time as GeoDate.
 long getLongTime()
          Get time as long since 1970-01-01.
 java.lang.Object getObjectValue()
           
 int getValue()
          Get the value
 boolean isTime()
          Test if SoTValue is time
 void setValue(int value)
          Set the value
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoTValue.Integer

public SoTValue.Integer()
Default constructor.


SoTValue.Integer

public SoTValue.Integer(int value)
Construct and initialize value.

Method Detail

getValue

public int getValue()
Get the value


setValue

public void setValue(int value)
Set the value


getObjectValue

public java.lang.Object getObjectValue()
Specified by:
getObjectValue in class SoTValue

isTime

public boolean isTime()
Test if SoTValue is time

Specified by:
isTime in class SoTValue

equals

public boolean equals(SoTValue val)
Test for equality

Specified by:
equals in class SoTValue

add

public void add(SoTValue val)
Add to value.

Specified by:
add in class SoTValue
Since:
3.0

getLongTime

public long getLongTime()
Get time as long since 1970-01-01.

Specified by:
getLongTime in class SoTValue
Since:
3.0

getGeoDate

public GeoDate getGeoDate()
Get time as GeoDate.

Specified by:
getGeoDate in class SoTValue
Since:
3.0

toString

public java.lang.String toString()
Specified by:
toString in class SoTValue