eu.reservoir.monitoring.core.table
Class DefaultTableValue

java.lang.Object
  extended by eu.reservoir.monitoring.core.table.DefaultTableValue
All Implemented Interfaces:
TableValue, java.io.Serializable

public class DefaultTableValue
extends java.lang.Object
implements TableValue

A default implementation of a TableValue.

See Also:
Serialized Form

Constructor Summary
DefaultTableValue(java.lang.Object value)
          Construct a TableValue This throws a TypeException if the type of the value is not one supported by ProbeAttributeType.
 
Method Summary
 ProbeAttributeType getType()
          Get the type for a TableValue e.g.
 java.lang.Object getValue()
          Get the underlying value.
 java.lang.String toString()
          To string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTableValue

public DefaultTableValue(java.lang.Object value)
                  throws TypeException
Construct a TableValue This throws a TypeException if the type of the value is not one supported by ProbeAttributeType.

Throws:
TypeException
Method Detail

getValue

public java.lang.Object getValue()
Get the underlying value.

Specified by:
getValue in interface TableValue

getType

public ProbeAttributeType getType()
Get the type for a TableValue e.g. INTEGER

Specified by:
getType in interface TableValue

toString

public java.lang.String toString()
To string

Overrides:
toString in class java.lang.Object


RESERVOIR Monitoring 0.6.4