Constructor and Description |
---|
CompetenceRow(org.tencompetence.generated.model.CompetenceLevel level)
Instantiates a new competence row.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.util.List<javax.faces.model.SelectItem> |
getAllCompetenceLevelsOfCompetence()
Gets the all competence levels of competence.
|
long |
getCompetenceId()
Gets the competence id.
|
java.lang.String |
getCompetenceTitle()
Return title of competence.
|
java.lang.String |
getCurrentLevel()
Gets the current level.
|
org.tencompetence.generated.model.CompetenceLevel |
getData()
Gets the data.
|
long |
getId()
Gets the id of this row item.
|
org.tencompetence.generated.model.CompetenceLevel |
getLevel()
Gets the level.
|
java.lang.String |
getLevelValue()
Gets the CompetenceLevelValue.
|
int |
hashCode() |
boolean |
isSelected()
Checks if is this row item is selected.
|
void |
setCurrentLevel(java.lang.String currentLevel)
Sets the current level.
|
void |
setLevel(org.tencompetence.generated.model.CompetenceLevel level)
Sets the level.
|
void |
setSelected(boolean selected)
Sets selected state of this row item.
|
public CompetenceRow(org.tencompetence.generated.model.CompetenceLevel level)
level
- the levelpublic java.lang.String getCurrentLevel()
public void setCurrentLevel(java.lang.String currentLevel)
currentLevel
- the new current levelpublic boolean isSelected()
isSelected
in interface IRowItem
public void setSelected(boolean selected)
setSelected
in interface IRowItem
selected
- the new selected statepublic org.tencompetence.generated.model.CompetenceLevel getLevel()
public void setLevel(org.tencompetence.generated.model.CompetenceLevel level)
level
- the new levelpublic java.lang.String getLevelValue()
public java.util.List<javax.faces.model.SelectItem> getAllCompetenceLevelsOfCompetence()
public long getCompetenceId()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public long getId()
public org.tencompetence.generated.model.CompetenceLevel getData()
public java.lang.String getCompetenceTitle()