net.agmodel.physical
Class SummaryHistoryElement

java.lang.Object
  extended bynet.agmodel.physical.SummaryHistoryElement
All Implemented Interfaces:
Cloneable, Serializable

public class SummaryHistoryElement
extends Object
implements Serializable, Cloneable

Records that data has been summarised to a certain temporal resolution (eg daily) and by which summary operation (eg total).

Author:
Matthew Laurenson
See Also:
SummaryHistory, Serialized Form

Constructor Summary
SummaryHistoryElement(Duration resolution, SummaryKind resultOf)
          Create a new summary element.
 
Method Summary
 Object clone()
           
 Duration getResolution()
          Get the temporal resolution (eg hourly or daily) of this element
 SummaryKind getSummaryKind()
          Get the way that the underlying data was aggregated to create the new data set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SummaryHistoryElement

public SummaryHistoryElement(Duration resolution,
                             SummaryKind resultOf)
Create a new summary element.

Parameters:
resolution - the resulting data resolution
Method Detail

getResolution

public Duration getResolution()
Get the temporal resolution (eg hourly or daily) of this element

Returns:
the resolution

getSummaryKind

public SummaryKind getSummaryKind()
Get the way that the underlying data was aggregated to create the new data set

Returns:
the summary kind

clone

public Object clone()


Copyright (C) NARC 2001 All Rights Reserved.