gov.noaa.pmel.util
Class SoTValue.Short

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

public static class SoTValue.Short
extends SoTValue

Inner class for SoTRange for type short.

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.Short()
          Default constructor.
SoTValue.Short(short 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()
           
 short getValue()
          Get the value
 boolean isTime()
          Test if SoTValue is time
 void setValue(short 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.Short

public SoTValue.Short()
Default constructor.


SoTValue.Short

public SoTValue.Short(short value)
Construct and initialize value.

Method Detail

getValue

public short getValue()
Get the value


setValue

public void setValue(short 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