it.eng.spagobi.kpi.config.bo
Class KpiValue
java.lang.Object
it.eng.spagobi.kpi.config.bo.KpiValue
- All Implemented Interfaces:
- java.lang.Cloneable
public class KpiValue
- extends java.lang.Object
- implements java.lang.Cloneable
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KpiValue
public KpiValue()
getValueFromStandardXmlValue
public java.lang.String getValueFromStandardXmlValue(java.lang.String attribute)
- This function returns the value of the attribute required, if existent in the xml field
- Parameters:
String
- attribute for which the value is requested
- Returns:
- The value of the attribute
getThresholdOfValue
public ThresholdValue getThresholdOfValue()
- This function return the ThresholdValue in which the kpiValue falls
- Returns:
- The Color of the interval in which the value falls
getChartType
public java.lang.String getChartType()
setChartType
public void setChartType(java.lang.String chartType)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
getScaleCode
public java.lang.String getScaleCode()
setScaleCode
public void setScaleCode(java.lang.String scaleCode)
getScaleName
public java.lang.String getScaleName()
setScaleName
public void setScaleName(java.lang.String scaleName)
getThresholdValues
public java.util.List getThresholdValues()
setThresholdValues
public void setThresholdValues(java.util.List thresholds)
getWeight
public java.lang.Double getWeight()
setWeight
public void setWeight(java.lang.Double weight)
getBeginDate
public java.util.Date getBeginDate()
setBeginDate
public void setBeginDate(java.util.Date beginDate)
getEndDate
public java.util.Date getEndDate()
setEndDate
public void setEndDate(java.util.Date endDate)
getR
public Resource getR()
setR
public void setR(Resource r)
getKpiInstanceId
public java.lang.Integer getKpiInstanceId()
setKpiInstanceId
public void setKpiInstanceId(java.lang.Integer kpiInstanceId)
getTarget
public java.lang.Double getTarget()
setTarget
public void setTarget(java.lang.Double target)
getValueDescr
public java.lang.String getValueDescr()
setValueDescr
public void setValueDescr(java.lang.String valueDescr)
clone
public KpiValue clone()
- Overrides:
clone
in class java.lang.Object
getKpiValueId
public java.lang.Integer getKpiValueId()
setKpiValueId
public void setKpiValueId(java.lang.Integer kpiValueId)
getValueXml
public java.lang.String getValueXml()
setValueXml
public void setValueXml(java.lang.String valueXml)