// ** This class was generated with DemFGen (vers:09/12/2009) package gen; import java.io.FileInputStream; import edu.neu.ccs.demeterf.lib.*; /** Representation of SCG */ public class SCG{ protected final List players; protected final List> account; protected final List> store; protected final Config config; /** Construct a(n) SCG Instance */ public SCG(List players, List> account, List> store, Config config){ this.players = players; this.account = account; this.store = store; this.config = config; } /** Is the given object Equal to this SCG? */ public boolean equals(Object o){ if(!(o instanceof SCG))return false; if(o == this)return true; SCG oo = (SCG)o; return (((Object)players).equals(oo.players))&&(((Object)account).equals(oo.account))&&(((Object)store).equals(oo.store))&&(((Object)config).equals(oo.config)); } /** Parse an instance of SCG from the given String */ public static SCG parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_SCG(); } /** Parse an instance of SCG from the given Stream */ public static SCG parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_SCG(); } /** Parse an instance of SCG from the given Reader */ public static SCG parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_SCG(); } /** Field Class for SCG.players */ public static class players extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for SCG.account */ public static class account extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for SCG.store */ public static class store extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for SCG.config */ public static class config 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); } }