Files
G4G0-1/Semester 1/Programming 1/Homework 4/Member.ctxt
2024-01-15 20:14:10 +00:00

71 lines
3.3 KiB
Plaintext

#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=email
comment10.target=void\ setEmail(java.lang.String)
comment10.text=\n\ Replaces\ the\ value\ of\ @email\ with\ a\ new\ value.\n
comment11.params=membershipNumber
comment11.target=void\ setMembershipNumber(int)
comment11.text=\n\ Replaces\ the\ value\ of\ @membershipNumber\ with\ new\ value.\n
comment12.params=loggedInStatus
comment12.target=void\ setLoggedInStatus(boolean)
comment12.text=\n\ Replaces\ the\ value\ of\ @loggedInStatus\ with\ new\ value.\n
comment13.params=website
comment13.target=void\ setWebsite(Website)
comment13.text=\n\ Sets\ the\ object\ pointed\ to\ by\ the\ member.\n
comment14.params=holiday
comment14.target=void\ setHoliday(Holiday)
comment14.text=\n\ Sets\ the\ object\ pointed\ to\ by\ the\ member.\n\ Currently\ used\ to\ clear\ the\ member's\ checkout\ after\ paying.\n
comment15.params=money
comment15.target=void\ setMoney(double)
comment15.text=\n\ Sets\ the\ value\ of\ the\ money\ variable\ to\ a\ new\ value\n
comment16.params=friend
comment16.target=void\ storeFriend(Friend)
comment16.text=\n\ Stores\ a\ friend\ /\ companion\ in\ the\ companions\ arrayList.\n
comment17.params=
comment17.target=void\ listFriends()
comment17.text=\n\ Lists\ the\ value\ of\ each\ friend\ object\ in\ the\ companions\ list.\n
comment18.params=holiday
comment18.target=void\ selectHoliday(Holiday)
comment18.text=\n\ Allows\ member\ to\ select\ a\ holiday\ object,\ provided\ they\ are\ logged\ into\ a\ website.\n
comment19.params=
comment19.target=void\ payForHoliday()
comment19.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
comment20.params=
comment20.target=java.lang.String\ toString()
comment20.text=\n\ Returns\ the\ current\ state\ of\ field\ variables\ as\ a\ string,\ with\ newlines\ after\ each.\n
comment21.params=holidayPrice
comment21.target=boolean\ checkMoney(int)
comment21.text=\n\ Checks\ if\ each\ person\ buying\ the\ holiday\ can\ afford\ it,\ returning\ a\ true\ or\ false.\n
comment22.params=holidayPrice
comment22.target=void\ whoCannotPay(int)
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=
comment7.target=double\ getMoney()
comment7.text=\n\ Returns\ the\ current\ balance\ of\ the\ member\n
comment8.params=
comment8.target=java.util.ArrayList\ getCompanions()
comment8.text=\n\ Returns\ the\ companions\ arrayList\n
comment9.params=
comment9.target=int\ getNumberOfCompanions()
comment9.text=\n\ Get\ the\ size\ of\ the\ companions\ list\n
numComments=23