com.endeca.itl.cas.api
Class MetricDate

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

public class MetricDate
extends Metric

A MetricDate extends the abstract Metric class by adding a long value that should be interpreted as a date.


Constructor Summary
MetricDate()
           
MetricDate(MetricId metricId, long date)
           
 
Method Summary
 boolean equals(Object other)
           
 long getValue()
           
 int hashCode()
           
 void setValue(long 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

MetricDate

public MetricDate()

MetricDate

public MetricDate(MetricId metricId,
                  long date)
Method Detail

getValue

public long getValue()

setValue

public void setValue(long 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.