Class GardenPlant
Object
GardenPlant
- All Implemented Interfaces:
Plant
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGardenPlant
(String name, int pHLow, int pHHigh, String amountOfSunshine, String type) -
Method Summary
-
Field Details
-
name
-
type
-
pHLow
private int pHLow -
pHHigh
private int pHHigh -
amountOfSunshine
-
-
Constructor Details
-
GardenPlant
-
-
Method Details
-
getType
-
getName
-
getpHLow
public int getpHLow() -
setpHLow
public void setpHLow(int pHLow) -
getpHHigh
public int getpHHigh() -
setpHHigh
public void setpHHigh(int pHHigh) -
getAmountOfSunshine
- Specified by:
getAmountOfSunshine
in interfacePlant
-
setAmountOfSunshine
- Specified by:
setAmountOfSunshine
in interfacePlant
-
main
-