Residue.java [src/java/util] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package util;
/**
*
* @author <a href="mailto:shaun.case@colostate.edu">Shaun Case</a>
*/
public class Residue {
protected String name;
protected String id;
protected double residueAmount;
public String getName(){
return name;
}
public String getID(){
return id;
}
public void setID(String key){
id = key;
}
public double getResidueAmount() {
return residueAmount;
}
public void setResidueAmount(double residueAmount) {
this.residueAmount = residueAmount;
}
// public void readJSONData(JSONObject jres) throws JSONException {
//
// name = jres.getString(NAME);
// id = jres.getString(ID);
// }
}