public class GeneratedWaste extends AbstractWaste
Model for generated waste data.
| Constructor and Description |
|---|
GeneratedWaste()
Default constructor.
|
GeneratedWaste(String industrialClassification,
String category,
Integer year,
List<ValueNode<String>> values)
Overloaded constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIndustrialClassification()
Getter for industrial classification.
|
static Map<String,Collection<String>> |
getInputs()
Get the available codes and their respective values for the generated waste data
from the API.
|
int |
hashCode() |
void |
setIndustrialClassification(String industrialClassification)
Setter for industrial classification.
|
String |
toString() |
getWasteCategory, setWasteCategorygetTime, setTimegetValue, getValues, setValue, setValuespublic String getIndustrialClassification()
Getter for industrial classification.
public void setIndustrialClassification(String industrialClassification)
Setter for industrial classification.
industrialClassification - the industrial classificationpublic int hashCode()
hashCode in class AbstractWastepublic boolean equals(Object obj)
equals in class AbstractWastepublic String toString()
toString in class AbstractTimeAndValueModel<Integer,String>public static Map<String,Collection<String>> getInputs()
Get the available codes and their respective values for the generated waste data from the API.
Copyright © 2017. All rights reserved.