org.ow2.jasmine.probe
Class JasmineSingleResult

java.lang.Object
  extended by org.ow2.jasmine.probe.JasmineSingleResult
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JasmineSingleBooleanResult, JasmineSingleNumberResult, JasmineSingleObjectNameResult, JasmineSingleStringResult

public abstract class JasmineSingleResult
extends Object
implements Serializable

This class represents a single result value. Instances of this class should be embedded in a JasmineIndicatorValue which may hold 1 or more of these basic objetcs (indicators may be composite or multiple)

Author:
durieuxp
See Also:
Serialized Form

Constructor Summary
JasmineSingleResult()
          Constructor
 
Method Summary
 void addProperty(String key, String value)
           
 Date getDate()
           
 String getName()
           
 HashMap<String,String> getProperties()
           
 long getTimestamp()
           
abstract  Object getValue()
           
 void setName(String name)
           
 void setProperties(HashMap<String,String> properties)
           
 void setTimestamp(long timestamp)
           
abstract  void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineSingleResult

public JasmineSingleResult()
Constructor

Method Detail

getName

public String getName()

setName

public void setName(String name)

getTimestamp

public long getTimestamp()

getDate

public Date getDate()

setTimestamp

public void setTimestamp(long timestamp)

getProperties

public HashMap<String,String> getProperties()

setProperties

public void setProperties(HashMap<String,String> properties)

addProperty

public void addProperty(String key,
                        String value)

getValue

public abstract Object getValue()

setValue

public abstract void setValue(Object value)


Copyright © 2013 OW2 Consortium. All Rights Reserved.