#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=member comment10.target=void\ checkout(Member) comment10.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 comment11.params= comment11.target=boolean\ checkHitDiscount() comment11.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=websiteName comment5.target=void\ setWebsiteName(java.lang.String) comment5.text=\n\ Set\ the\ website's\ name\ to\ a\ new\ value.\n comment6.params=hits comment6.target=void\ setHits(int) comment6.text=\n\ Set\ the\ website's\ hit\ count\ to\ a\ new\ value.\n comment7.params=salesTotal comment7.target=void\ setSalesTotal(double) comment7.text=\n\ Set\ the\ total\ sales\ of\ the\ website\ to\ a\ new\ value.\n comment8.params=member comment8.target=void\ memberLogin(Member) comment8.text=\n\ Allows\ the\ website\ to\ be\ logged\ into,\ taking\ a\ Member\ object\ as\ a\ parameter.\n comment9.params=member comment9.target=void\ memberLogout(Member) comment9.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 numComments=12