src/java/m/wqm/nutappmgtscores/Crop.java
@@ -12,16 +12,14 @@ |
public class Crop { |
|
private int mgtCropId; |
- private boolean lmod; |
private String cropPlantDate; |
private double cropYield; |
private String cropYieldUnits; |
private ArrayList<Nutrient> nutrientApplicationList; |
|
- public Crop(int mgtCropId, boolean lmod, String cropPlantDate, double cropYield, |
+ public Crop(int mgtCropId,String cropPlantDate, double cropYield, |
String cropYieldUnits, ArrayList<Nutrient> nutrientApplicationList) { |
this.mgtCropId = mgtCropId; |
- this.lmod = lmod; |
this.cropPlantDate = cropPlantDate; |
this.cropYield = cropYield; |
this.cropYieldUnits = cropYieldUnits; |
@@ -33,10 +31,6 @@ |
return this.mgtCropId; |
} |
|
- public boolean getLmod() { |
- return this.lmod; |
- } |
- |
public Date getCropPlantDate() throws Exception { |
String[] parse = this.cropPlantDate.split("-"); |
Calendar date = new GregorianCalendar(Integer.parseInt(parse[0]), |