// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.demfgen.lib.*; /** Representation of IntermediateProduct */ public class IntermediateProduct{ public Assignment assignment; /** Construct a(n) IntermediateProduct Instance */ public IntermediateProduct(Assignment assignment){ this.assignment = assignment; } /** Is the given object Equal to this IntermediateProduct? */ public boolean equals(Object o){ if(!(o instanceof IntermediateProduct))return false; if(o == this)return true; IntermediateProduct oo = (IntermediateProduct)o; return (((Object)assignment).equals(oo.assignment)); } /** Parse an instance of IntermediateProduct from the given String */ public static IntermediateProduct parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_IntermediateProduct(); } /** Parse an instance of IntermediateProduct from the given Stream */ public static IntermediateProduct parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_IntermediateProduct(); } /** Parse an instance of IntermediateProduct from the given Reader */ public static IntermediateProduct parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_IntermediateProduct(); } /** Field Class for IntermediateProduct.assignment */ public static class assignment extends edu.neu.ccs.demeterf.control.Fields.any{} /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } /** DGP method from Class PrintHeap */ public String print(){ return gen.PrintHeap.PrintHeapM(this); } /** DGP method from Class PrintHeapToString */ public String toString(){ return gen.PrintHeapToString.PrintHeapToStringM(this); } }