private static EnzymeType makeEnzymeType() { EnzymeType enzymeType = new EnzymeType(); enzymeType.setId("Enz1"); enzymeType.setCTermGain("OH"); enzymeType.setNTermGain("H"); enzymeType.setMinDistance(1); return enzymeType; }
public static EnzymeType makeNoEnzyme() { EnzymeType enzymeType = new EnzymeType(); enzymeType.setId("Enz1"); ParamListType nameParam = new ParamListType(); nameParam .getParamGroup() .add(CvParamMaker.getInstance().make("MS:1001091", "NoEnzyme", CvConstants.PSI_CV)); enzymeType.setEnzymeName(nameParam); return enzymeType; }