// ** This class was generated with DemFGen (vers:09/12/2009) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.lib.*; /** Representation of Round */ public class Round{ protected final List ptransactions; /** Construct a(n) Round Instance */ public Round(List ptransactions){ this.ptransactions = ptransactions; } /** Is the given object Equal to this Round? */ public boolean equals(Object o){ if(!(o instanceof Round))return false; if(o == this)return true; Round oo = (Round)o; return (((Object)ptransactions).equals(oo.ptransactions)); } /** Parse an instance of Round from the given String */ public static Round parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Round(); } /** Parse an instance of Round from the given Stream */ public static Round parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Round(); } /** Parse an instance of Round from the given Reader */ public static Round parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Round(); } /** Field Class for Round.ptransactions */ public static class ptransactions extends edu.neu.ccs.demeterf.control.Fields.any{} /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } }