Package org.ametys.plugins.hyperplanning
Class CancelledLesson
java.lang.Object
org.ametys.plugins.hyperplanning.CancelledLesson
Object representing a lesson from Hyperplanning
-
Constructor Summary
ConstructorDescriptionCancelledLesson
(com.indexeducation.frahtm.hpsvcw.THpSvcWCleCoursAnnule key, String code, String label, String fullLabel, ZonedDateTime date, String cancelRationale, String cancelComment) Basic constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the cancellation commentGet the cancellation rationalecom.indexeducation.frahtm.hpsvcw.THpSvcWCleCoursAnnule
Get the course keygetDate()
Get the course dateGet the course codeGet the full course labelGet the course label
-
Constructor Details
-
CancelledLesson
public CancelledLesson(com.indexeducation.frahtm.hpsvcw.THpSvcWCleCoursAnnule key, String code, String label, String fullLabel, ZonedDateTime date, String cancelRationale, String cancelComment) Basic constructor- Parameters:
key
- the webServiceKey of the course, this lesson belongs tocode
- the code of the subject this lesson belongs tolabel
- the label of the subject this lesson belongs tofullLabel
- the full label of the subject this lesson belongs todate
- the original date of the lessoncancelRationale
- the cancellation rationalecancelComment
- the cancellation comment
-
-
Method Details
-
getCourseKey
Get the course key- Returns:
- the key
-
getSubjectCode
Get the course code- Returns:
- the code
-
getSubjectLabel
Get the course label- Returns:
- the label
-
getSubjectFullLabel
Get the full course label- Returns:
- the label
-
getDate
Get the course date- Returns:
- the date
-
getCancelRationale
Get the cancellation rationale- Returns:
- the rationale
-
getCancelComment
Get the cancellation comment- Returns:
- the comment
-