br.com.oncast.dev.lobo.eval.bean
Class ProfileMetric

java.lang.Object
  extended by br.com.oncast.dev.lobo.eval.bean.ProfileMetric

public class ProfileMetric
extends java.lang.Object

A leaf in the profile reporting bean tree.
It stores information about a single profiling metric.


Constructor Summary
ProfileMetric(java.lang.String key)
          Creates a new instance of ProfileMetric.
 
Method Summary
 java.lang.String getKey()
           
 MetricType getType()
           
 double getValue()
           
 void setType(MetricType type)
           
 void setValue(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileMetric

public ProfileMetric(java.lang.String key)
Creates a new instance of ProfileMetric.

Parameters:
key - the name of the metric.
Method Detail

getKey

public java.lang.String getKey()
Returns:
the key.

getType

public MetricType getType()
Returns:
the type.

setType

public void setType(MetricType type)
Parameters:
type - the type to set.

getValue

public double getValue()
Returns:
the value.

setValue

public void setValue(double value)
Parameters:
value - the value to set.