com.endeca.itl.cas.api
Class MetricString

java.lang.Object
  extended by com.endeca.itl.cas.api.Metric
      extended by com.endeca.itl.cas.api.MetricString

public class MetricString
extends Metric

A MetricString extends the abstract Metric class by adding a string value.


Constructor Summary
MetricString()
           
MetricString(MetricId metricId, String value)
           
 
Method Summary
 boolean equals(Object other)
           
 String getValue()
           
 int hashCode()
           
 void setValue(String value)
           
 String toValueString()
           
 
Methods inherited from class com.endeca.itl.cas.api.Metric
getMetricId, setMetricId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetricString

public MetricString()

MetricString

public MetricString(MetricId metricId,
                    String value)
Method Detail

getValue

public String getValue()

setValue

public void setValue(String value)

equals

public boolean equals(Object other)
Overrides:
equals in class Metric

hashCode

public int hashCode()
Overrides:
hashCode in class Metric

toValueString

public String toValueString()
Specified by:
toValueString in class Metric


Copyright © 2011 Endeca. All Rights Reserved.