Files
G4G0-1/Semester 1/Programming 1/Week 3/Homework 1/House.ctxt
2024-01-15 20:14:10 +00:00

68 lines
3.1 KiB
Plaintext

#BlueJ class context
comment0.params=
comment0.target=void\ test()
comment1.params=type\ homeAddress\ initPrice\ energyRating\ taxBand\ garage
comment1.target=House(java.lang.String,\ java.lang.String,\ int,\ int,\ char,\ boolean)
comment1.text=\n\ Constructor\ for\ objects\ of\ class\ House\n
comment10.params=
comment10.target=java.lang.String\ getOwner()
comment10.text=\n\ Returns\ the\ value\ of\ @owner\n
comment11.params=
comment11.target=int\ getNumberOfOwners()
comment11.text=\n\ Returns\ the\ value\ of\ @numberOfOwners\n
comment12.params=type
comment12.target=void\ setType(java.lang.String)
comment12.text=\n\ Set\ @typeOfHouse\ to\ a\ user-input\ value\n
comment13.params=newAddress
comment13.target=void\ setAddress(java.lang.String)
comment13.text=\n\ Set\ @address\ to\ a\ user-input\ value\n
comment14.params=newBand
comment14.target=void\ setCouncilTaxBand(char)
comment14.text=\n\ Set\ @councilTaxBand\ to\ a\ user-input\ value\n
comment15.params=garage
comment15.target=void\ setGarage(boolean)
comment15.text=\n\ Set\ @hasGarage\ to\ a\ user-input\ value\n
comment16.params=newOwner
comment16.target=void\ setOwner(java.lang.String)
comment16.text=\n\ Set\ @owner\ to\ a\ user-input\ value\n
comment17.params=newPurchasePrice
comment17.target=void\ setPurchasePrice(int)
comment17.text=\n\ Set\ @purchasePrice\ to\ a\ user-input\ value\n
comment18.params=newNumberOfOwners
comment18.target=void\ setNumberOfOwners(int)
comment18.text=\n\ Set\ @numberOfOwners\ to\ a\ user-input\ value\n
comment19.params=
comment19.target=void\ printDetails()
comment19.text=\n\ Print\ all\ fields\ of\ object\ for\ the\ user.\n
comment2.params=newHomeEnergyRating
comment2.target=void\ goingGreener(int)
comment2.text=\n\ Simulates\ changing\ home\ efficiency\ value.\n\ Takes\ @homeEnergyRating\ and\ replaces\ with\ a\ user\ input\ value\ @newHomeEnergyRating,\ then\n\ prints\ a\ confirmation\ message\ to\ the\ output\ log.\n
comment20.params=
comment20.target=void\ checkHomeEnergyRating()
comment20.text=\n\ Print\ to\ log\ when\ @homeEnergyRating\ is\ above\ or\ below\ a\ threshold\ of\ 3.\n
comment21.params=newOwner\ newPurchasePrice
comment21.target=void\ sell(java.lang.String,\ int)
comment21.text=\n\ Simulates\ selling\ the\ house\ by\ calling\ the\ setOwner()\ and\ setPurchasePrice()\ methods.\n
comment3.params=
comment3.target=java.lang.String\ getType()
comment3.text=\n\ Returns\ the\ value\ of\ @typeOfHouse\ to\ the\ user.\n
comment4.params=
comment4.target=java.lang.String\ getAddress()
comment4.text=\n\ Returns\ the\ value\ of\ @address\n
comment5.params=
comment5.target=int\ getInitialPurchasePrice()
comment5.text=\n\ Returns\ the\ value\ of\ @initalPurchasePrice\n
comment6.params=
comment6.target=int\ getEnergyRating()
comment6.text=\n\ Returns\ the\ value\ of\ @homeEnergyRating\n
comment7.params=
comment7.target=char\ getTaxBand()
comment7.text=\n\ Returns\ the\ value\ of\ @councilTaxBand\n
comment8.params=
comment8.target=boolean\ getGarage()
comment8.text=\n\ Returns\ the\ value\ of\ @hasGarage\n
comment9.params=
comment9.target=int\ getPurchasePrice()
comment9.text=\n\ Returns\ the\ value\ of\ @purchasePrice\n
numComments=22