Class Indicator
- java.lang.Object
-
- com.jalios.jcms.uicomponent.indicator.Indicator
-
public class Indicator extends java.lang.Object
A 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.String
getLabel()
java.lang.String
getLink()
java.lang.String
getLinkLabel()
double
getTargetValue()
java.lang.String
getUnit()
double
getValue()
boolean
isPercentage()
boolean
isRatio()
void
setLabel(java.lang.String label)
void
setLink(java.lang.String link)
void
setLinkLabel(java.lang.String linkLabel)
void
setPercentage(boolean isPercentage)
void
setTargetValue(double targetValue)
void
setUnit(java.lang.String unit)
void
setValue(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
-
-