first commit
This commit is contained in:
44
Semester 1/Programming 1/Homework 3/Member.ctxt
Normal file
44
Semester 1/Programming 1/Homework 3/Member.ctxt
Normal file
@@ -0,0 +1,44 @@
|
||||
#BlueJ class context
|
||||
comment0.params=
|
||||
comment0.target=Member()
|
||||
comment0.text=\n\ Default\ Constructor\ for\ objects\ of\ Class\ Member.\n
|
||||
comment1.params=email\ membershipNumber
|
||||
comment1.target=Member(java.lang.String,\ int)
|
||||
comment1.text=\n\ Constructor\ for\ objects\ of\ class\ Member\n
|
||||
comment10.params=website
|
||||
comment10.target=void\ setWebsite(Website)
|
||||
comment10.text=\n\ Sets\ the\ object\ pointed\ to\ by\ the\ member.\n
|
||||
comment11.params=holiday
|
||||
comment11.target=void\ setHoliday(Holiday)
|
||||
comment11.text=\n\ Sets\ the\ object\ pointed\ to\ by\ the\ member.\n\ Currently\ used\ to\ clear\ the\ member's\ checkout\ after\ paying.\n
|
||||
comment12.params=holiday
|
||||
comment12.target=void\ selectHoliday(Holiday)
|
||||
comment12.text=\n\ Allows\ member\ to\ select\ a\ holiday\ object,\ provided\ they\ are\ logged\ into\ a\ website.\n
|
||||
comment13.params=
|
||||
comment13.target=void\ payForHoliday()
|
||||
comment13.text=\n\ Allows\ member\ to\ pay\ for\ a\ holiday,\ provided\ they\ are\ logged\ in,\ passing\ itself\ to\ website.checkout().\n
|
||||
comment2.params=
|
||||
comment2.target=java.lang.String\ getEmail()
|
||||
comment2.text=\n\ Returns\ the\ value\ of\ @email.\n
|
||||
comment3.params=
|
||||
comment3.target=int\ getMembershipNumber()
|
||||
comment3.text=\n\ Returns\ the\ value\ of\ @membershipNumber.\n
|
||||
comment4.params=
|
||||
comment4.target=boolean\ getLoggedInStatus()
|
||||
comment4.text=\n\ Returns\ the\ value\ of\ @loggedInStatus.\n
|
||||
comment5.params=
|
||||
comment5.target=Holiday\ getHoliday()
|
||||
comment5.text=\n\ Returns\ the\ current\ selected\ holiday\ object.\n
|
||||
comment6.params=
|
||||
comment6.target=Website\ getWebsite()
|
||||
comment6.text=\n\ Returns\ the\ current\ logged\ in\ website\ object.\n
|
||||
comment7.params=email
|
||||
comment7.target=void\ setEmail(java.lang.String)
|
||||
comment7.text=\n\ Replaces\ the\ value\ of\ @email\ with\ a\ new\ value.\n
|
||||
comment8.params=membershipNumber
|
||||
comment8.target=void\ setMembershipNumber(int)
|
||||
comment8.text=\n\ Replaces\ the\ value\ of\ @membershipNumber\ with\ new\ value.\n
|
||||
comment9.params=loggedInStatus
|
||||
comment9.target=void\ setLoggedInStatus(boolean)
|
||||
comment9.text=\n\ Replaces\ the\ value\ of\ @loggedInStatus\ with\ new\ value.\n
|
||||
numComments=14
|
||||
Reference in New Issue
Block a user