edu.usc.bg.validator
Class resourceUpdateStat

java.lang.Object
  extended by edu.usc.bg.validator.resourceUpdateStat

public class resourceUpdateStat
extends java.lang.Object

keeps a track of the first update details for a resource and its related interval if applicable constructs the appropriate interval tree or hashmap

Author:
barahman

Method Summary
 void addInterval(long start, long end, long updateType)
           
 java.lang.String getFinalVal()
           
 java.lang.String getMaxEndTime()
           
 java.lang.String getMinStartTime()
           
 java.util.List<Interval<java.lang.Long>> queryIntervalTree(long start, long end)
           
 void setFinalVal(java.lang.String finalVal)
           
 void setMaxEndTime(java.lang.String maxEndTime)
           
 void setMinStartTime(java.lang.String minStartTime)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addInterval

public void addInterval(long start,
                        long end,
                        long updateType)

queryIntervalTree

public java.util.List<Interval<java.lang.Long>> queryIntervalTree(long start,
                                                                  long end)

getMinStartTime

public java.lang.String getMinStartTime()

setMinStartTime

public void setMinStartTime(java.lang.String minStartTime)

getMaxEndTime

public java.lang.String getMaxEndTime()

setMaxEndTime

public void setMaxEndTime(java.lang.String maxEndTime)

getFinalVal

public java.lang.String getFinalVal()

setFinalVal

public void setFinalVal(java.lang.String finalVal)