biz.hammurapi.metrics.persistent
Class Period
java.lang.Object
biz.hammurapi.metrics.persistent.AbstractPeriod
biz.hammurapi.metrics.persistent.Period
- All Implemented Interfaces:
- biz.hammurapi.util.Visitable, biz.hammurapi.xml.dom.DomSerializable
public class Period
- extends AbstractPeriod
Measurement period for a particular metric
- Version:
- $Revision$
- Author:
- Pavel Vlasov
Methods inherited from class biz.hammurapi.metrics.persistent.AbstractPeriod |
accept, aggregate, createSlices, getDeviation, getLabel, getLength, getMaxValue, getMeasurements, getMinValue, getName, getSlices, getSubCategories, getTimeFrom, getTimeTo, getTotal, normalizeSliceDeviations |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
getId
public int getId()
- Returns:
- Returns the id.
equals
public boolean equals(java.lang.Object arg)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toKey
public java.lang.Object toKey()
- Primary key of period to use in memory sensitive cache.
- Returns:
setAttributes
protected void setAttributes(org.w3c.dom.Element holder)
- Overrides:
setAttributes
in class AbstractPeriod
- Parameters:
holder
-
toDom
public void toDom(org.w3c.dom.Element holder)
- Specified by:
toDom
in interface biz.hammurapi.xml.dom.DomSerializable
- Overrides:
toDom
in class AbstractPeriod
loadSubCategories
protected void loadSubCategories(java.util.List subCategories)
throws java.sql.SQLException
- Description copied from class:
AbstractPeriod
- This method should add subcategories (of type Period) to this category.
- Specified by:
loadSubCategories
in class AbstractPeriod
- Throws:
java.sql.SQLException
getAbsoluteName
public java.lang.String getAbsoluteName()
getPath
public MetricRef[] getPath()
Copyright © 2006 Hammurapi Group. All Rights Reserved.