Class Evaluation
java.lang.Object
passport.domain.models.evaluations.Evaluation
- All Implemented Interfaces:
Entity<EvaluationId>
Represents an evaluation of an event, including the event ID, author ID, and
comment.
-
Constructor Summary
ConstructorDescriptionEvaluation
(EvaluationId id, EventId event, UserId author, String comment) Constructs a new Evaluation with the specified evaluation ID, event ID, author ID, and comment.Evaluation
(EventId event, UserId author, String comment) Constructs a new Evaluation with the specified event ID, author ID, and comment. -
Method Summary
-
Constructor Details
-
Evaluation
-
Evaluation
Constructs a new Evaluation with the specified evaluation ID, event ID, author ID, and comment.- Parameters:
id
- the evaluation IDevent
- the event ID being evaluatedauthor
- the user ID of the author of the evaluationcomment
- the evaluation comment
-
-
Method Details
-
id
Returns the evaluation ID.- Specified by:
id
in interfaceEntity<EvaluationId>
- Returns:
- the evaluation ID
-
author
-
event
-
comment
-