Class Exam
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.Exam
Exam
is a wrapper for the Exam entity, providing an easy way to do common work with it.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExam
(Entity delegate, QualificationService qualificationService, Context context) Creates a new instance ofExam
. -
Method Summary
Modifier and TypeMethodDescription@Nullable BigDecimal
@Nullable org.joda.time.LocalDate
getDate()
Returns a simple representation of theExam
to be used in client UI.getInput()
getLabel()
getNr()
@Nullable BigDecimal
toString()
-
Field Details
-
ENTITY_NAME
- See Also:
-
FIELD_NR
- See Also:
-
FIELD_LABEL
- See Also:
-
FIELD_DATE
- See Also:
-
FIELD_AVERAGE
- See Also:
-
FIELD_POINTS_MAX
- See Also:
-
FIELD_WEIGHT
- See Also:
-
RELATION_INPUT
- See Also:
-
-
Constructor Details
-
Exam
Creates a new instance ofExam
.- Parameters:
delegate
- the Exam entity to wrapqualificationService
- theQualificationService
context
- theContext
-
-
Method Details