public class RatingComponentValue
extends java.lang.Object
Constructor and Description |
---|
RatingComponentValue(org.tencompetence.generated.model.LevelValue level,
boolean imageOn,
boolean large)
Instantiates a new rating component value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHoverSrc()
Gets the hover src.
|
java.lang.String |
getImgSrc()
Gets the img src.
|
org.tencompetence.generated.model.LevelValue |
getLevel()
Gets the level.
|
java.lang.String |
getReqSrc()
Gets the req src.
|
java.lang.String |
getUrlSrc()
Gets the url, needed for the default url of the image in the jspx file.
|
void |
setHoverSrc(java.lang.String hoverSrc)
Sets the hover src.
|
void |
setImageType(boolean imageOn)
Set the image type.
|
void |
setImgSrc(java.lang.String imgSrc)
Sets the img src.
|
void |
setRequired(boolean required)
Sets the required.
|
public RatingComponentValue(org.tencompetence.generated.model.LevelValue level, boolean imageOn, boolean large)
level
- the levelimageOn
- the image onlarge
- Should the small or large images be usedpublic java.lang.String getUrlSrc()
public void setRequired(boolean required)
required
- Possibility to set the required value. Needed to show which level is the minimum level.public org.tencompetence.generated.model.LevelValue getLevel()
public java.lang.String getReqSrc()
public void setImgSrc(java.lang.String imgSrc)
imgSrc
- the new img src. Not really needed, only implemented for avoiding errors at the front-end.public java.lang.String getImgSrc()
public void setHoverSrc(java.lang.String hoverSrc)
hoverSrc
- the new hover src. Not really needed, only implemented for avoiding errors at the front-end.public java.lang.String getHoverSrc()
public final void setImageType(boolean imageOn)
imageOn
- true or false