public class CompetenceWrapper
extends java.lang.Object
Constructor and Description |
---|
CompetenceWrapper(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
java.util.List<org.tencompetence.generated.model.LevelValue> values,
com.liferay.portal.service.ServiceContext ctx)
Instantiates a new competence level wrapper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAltText()
Gets the alt text for the image.
|
long |
getAssessmentId()
Gets the assessment id.
|
java.lang.String |
getAssessmentIdentifier()
Gets the assessment identifier.
|
java.lang.Integer |
getAttained()
Gets the attained.
|
org.tencompetence.generated.model.Competence |
getCompetence()
Gets the competence from this wrapper.
|
org.tencompetence.generated.model.CompetenceLevel |
getCompetenceLevel()
Gets the competence level.
|
java.lang.String |
getIndicatorUrl()
Gets the indicator url.
|
int |
getRequiredLevel()
Gets the required level for this competence.
|
boolean |
getSelected()
Gets the selected.
|
java.lang.String |
getTitle()
Gets the title.
|
boolean |
hasAssessment()
Checks if the editor input has an associated assessment.
|
int |
hashCode() |
void |
setAttained(java.lang.Integer value)
Sets the attained.
|
void |
setSelected(boolean value)
Sets the selected.
|
public CompetenceWrapper(org.tencompetence.generated.model.CompetenceLevel competenceLevel, java.util.List<org.tencompetence.generated.model.LevelValue> values, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
competenceLevel
- the competence levelvalues
- the valuesctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic boolean getSelected()
public java.lang.String getTitle()
public int getRequiredLevel()
public org.tencompetence.generated.model.Competence getCompetence()
public java.lang.Integer getAttained()
public org.tencompetence.generated.model.CompetenceLevel getCompetenceLevel()
public java.lang.String getIndicatorUrl()
public java.lang.String getAltText()
public java.lang.String getAssessmentIdentifier()
public long getAssessmentId()
public boolean hasAssessment()
public void setAttained(java.lang.Integer value)
value
- the new attainedpublic void setSelected(boolean value)
value
- the new selectedpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object