// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; /** Representation of Buy */ public class Buy extends TransactionType{ /** Construct a(n) Buy Instance */ public Buy(){ } /** Is the given object Equal to this Buy? */ public boolean equals(Object o){ if(!(o instanceof Buy))return false; if(o == this)return true; Buy oo = (Buy)o; return true; } /** Parse an instance of Buy from the given String */ public static Buy parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Buy(); } /** Parse an instance of Buy from the given Stream */ public static Buy parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Buy(); } /** Parse an instance of Buy from the given Reader */ public static Buy parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Buy(); } /** 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); } }