Class Indicator
- java.lang.Object
-
- com.jalios.jcms.uicomponent.indicator.Indicator
-
public class Indicator extends java.lang.ObjectA pojo representing indicator content
-
-
Constructor Summary
Constructors Constructor Description Indicator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()java.lang.StringgetLink()java.lang.StringgetLinkLabel()doublegetTargetValue()java.lang.StringgetUnit()doublegetValue()booleanisPercentage()booleanisRatio()voidsetLabel(java.lang.String label)voidsetLink(java.lang.String link)voidsetLinkLabel(java.lang.String linkLabel)voidsetPercentage(boolean isPercentage)voidsetTargetValue(double targetValue)voidsetUnit(java.lang.String unit)voidsetValue(double value)
-
-
-
Method Detail
-
getValue
public double getValue()
- Returns:
- the value
-
setValue
public void setValue(double value)
- Parameters:
value- the value to set
-
getTargetValue
public double getTargetValue()
- Returns:
- the target value
-
setTargetValue
public void setTargetValue(double targetValue)
- Parameters:
targetValue- the target value to set
-
isPercentage
public boolean isPercentage()
- Returns:
- the percentage
-
setPercentage
public void setPercentage(boolean isPercentage)
- Parameters:
isPercentage- the percentage to set
-
isRatio
public boolean isRatio()
- Returns:
- the percentage
-
getLabel
public java.lang.String getLabel()
- Returns:
- the label
-
setLabel
public void setLabel(java.lang.String label)
- Parameters:
label- the label to set
-
getUnit
public java.lang.String getUnit()
- Returns:
- the unit
-
setUnit
public void setUnit(java.lang.String unit)
- Parameters:
unit- the unit to set
-
getLink
public java.lang.String getLink()
- Returns:
- the link
-
setLink
public void setLink(java.lang.String link)
- Parameters:
link- the link to set
-
getLinkLabel
public java.lang.String getLinkLabel()
- Returns:
- the linkLabel
-
setLinkLabel
public void setLinkLabel(java.lang.String linkLabel)
- Parameters:
linkLabel- the linkLabel to set
-
-