#BlueJ class context comment0.params= comment0.target=Website() comment0.text=\n\ Default\ constructor\ for\ objects\ of\ class\ Website\n comment1.params=websiteName comment1.target=Website(java.lang.String) comment1.text=\n\ Constructor\ for\ objects\ of\ class\ Website\n comment10.params= comment10.target=void\ listMembersLoggedIn() comment10.text=\n\ Lists\ all\ members\ logged\ in\ by\ using\ a\ for\ each\ loop\ and\ accessing\ the\ member.toString()\ method.\n comment11.params=member comment11.target=void\ memberLogin(Member) comment11.text=\n\ Allows\ the\ website\ to\ be\ logged\ into,\ taking\ a\ Member\ object\ as\ a\ parameter.\n comment12.params=member comment12.target=void\ memberLogout(Member) comment12.text=\n\ Allows\ the\ current\ user\ of\ the\ website\ to\ be\ logged\ out,\ as\ long\ as\ there\ is\ a\ user\ logged\ in.\n\ The\ if\ statement\ here\ allows\ us\ to\ avoid\ a\ null\ reference\ error.\n comment13.params=member comment13.target=void\ checkout(Member) comment13.text=\n\ Provides\ a\ checkout\ to\ the\ member\ buying\ a\ holiday.\ This\ will\ also\ apply\ the\ hit\ discount,\ \n\ and\ amend\ the\ purchase\ to\ the\ sales\ total\ field\ variable\n comment14.params= comment14.target=boolean\ checkHitDiscount() comment14.text=\n\ Returns\ true\ or\ false,\ depending\ on\ the\ current\ state\ of\ hit\ count.\n\ Every\ 10th\ member,\ result\ is\ true\n comment2.params= comment2.target=java.lang.String\ getWebsiteName() comment2.text=\n\ Return\ website's\ name\n comment3.params= comment3.target=int\ getHits() comment3.text=\n\ Return\ hit\ count\ of\ website\n comment4.params= comment4.target=double\ getSalesTotal() comment4.text=\n\ Return\ total\ sales\ of\ holidays\ purchased\ through\ the\ website.\n comment5.params= comment5.target=java.util.ArrayList\ getLoggedInList() comment5.text=\n\ Return\ the\ logged\ in\ list\ ArrayList\n comment6.params= comment6.target=int\ getNumberOfUsers() comment6.text=\n\ Return\ the\ amount\ of\ users\ currently\ logged\ in\n comment7.params=websiteName comment7.target=void\ setWebsiteName(java.lang.String) comment7.text=\n\ Set\ the\ website's\ name\ to\ a\ new\ value.\n comment8.params=hits comment8.target=void\ setHits(int) comment8.text=\n\ Set\ the\ website's\ hit\ count\ to\ a\ new\ value.\n comment9.params=salesTotal comment9.target=void\ setSalesTotal(double) comment9.text=\n\ Set\ the\ total\ sales\ of\ the\ website\ to\ a\ new\ value.\n numComments=15