eu.reservoir.monitoring.core.list
Class DefaultMListValue

java.lang.Object
  extended by eu.reservoir.monitoring.core.list.DefaultMListValue
All Implemented Interfaces:
MListValue, java.io.Serializable

public class DefaultMListValue
extends java.lang.Object
implements MListValue

A default implementation of a MListValue.

See Also:
Serialized Form

Constructor Summary
DefaultMListValue(java.lang.Object value)
          Construct a MListValue 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 MListValue 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

DefaultMListValue

public DefaultMListValue(java.lang.Object value)
                  throws TypeException
Construct a MListValue 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 MListValue

getType

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

Specified by:
getType in interface MListValue

toString

public java.lang.String toString()
To string

Overrides:
toString in class java.lang.Object


RESERVOIR Monitoring 0.6.4