Package elements
Class Review
java.lang.Object
elements.Review
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the comment provided in the review.float
getMark()
Gets the mark given in the review.
-
Constructor Details
-
Review
Constructs a new Review with the specified mark and comment.- Parameters:
mark
- the mark given in the review, should be between 0.0 and 5.0comment
- the comment provided in the review- Throws:
exceptions.BadEntryException
- if the mark is out of range or the comment is invalid
-
-
Method Details
-
getMark
public float getMark()Gets the mark given in the review.- Returns:
- the mark given in the review
-
getComment
Gets the comment provided in the review.- Returns:
- the comment provided in the review
-