// ** This file was generated with DemFGen (vers:12/15/2010) package gen; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; /** Representation of Test3 */ public class Test3{ protected final Instance i; protected final Solution s; protected final Domain d; protected final Claim c; protected final Playground playground; /** Construct a(n) Test3 Instance */ public Test3(Instance i, Solution s, Domain d, Claim c, Playground playground){ this.i = i; this.s = s; this.d = d; this.c = c; this.playground = playground; } /** Is the given object Equal to this Test3? */ public boolean equals(Object o){ if(!(o instanceof Test3))return false; if(o == this)return true; Test3 oo = (Test3)o; return (((Object)i).equals(oo.i))&&(((Object)s).equals(oo.s))&&(((Object)d).equals(oo.d))&&(((Object)c).equals(oo.c))&&(((Object)playground).equals(oo.playground)); } /** Parse an instance of Test3 from the given String */ public static Test3 parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_Test3(); } /** Parse an instance of Test3 from the given Stream */ public static Test3 parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Test3(); } /** Parse an instance of Test3 from the given Reader */ public static Test3 parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Test3(); } /** Field Class for Test3.i */ public static class i extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test3.s */ public static class s extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test3.d */ public static class d extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test3.c */ public static class c extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test3.playground */ public static class playground extends edu.neu.ccs.demeterf.Fields.any{} /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } /** Updater for field Test3.i */ public Test3 updateI(Instance _i){ return new Test3(_i, s, d, c, playground); } /** Updater for field Test3.s */ public Test3 updateS(Solution _s){ return new Test3(i, _s, d, c, playground); } /** Updater for field Test3.d */ public Test3 updateD(Domain _d){ return new Test3(i, s, _d, c, playground); } /** Updater for field Test3.c */ public Test3 updateC(Claim _c){ return new Test3(i, s, d, _c, playground); } /** Updater for field Test3.playground */ public Test3 updatePlayground(Playground _playground){ return new Test3(i, s, d, c, _playground); } /** Getter for field Test3.i */ public Instance getI(){ return i; } /** Getter for field Test3.s */ public Solution getS(){ return s; } /** Getter for field Test3.d */ public Domain getD(){ return d; } /** Getter for field Test3.c */ public Claim getC(){ return c; } /** Getter for field Test3.playground */ public Playground getPlayground(){ return playground; } }