// ** 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.*; import java.lang.Integer; /** Representation of Test1 */ public class Test1{ protected final Instance i; protected final Solution s; protected final Domain d; /** Construct a(n) Test1 Instance */ public Test1(Instance i, Solution s, Domain d){ this.i = i; this.s = s; this.d = d; } /** Is the given object Equal to this Test1? */ public boolean equals(Object o){ if(!(o instanceof Test1))return false; if(o == this)return true; Test1 oo = (Test1)o; return (((Object)i).equals(oo.i))&&(((Object)s).equals(oo.s))&&(((Object)d).equals(oo.d)); } /** Parse an instance of Test1 from the given String */ public static Test1 parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_Test1(); } /** Parse an instance of Test1 from the given Stream */ public static Test1 parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Test1(); } /** Parse an instance of Test1 from the given Reader */ public static Test1 parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Test1(); } /** Field Class for Test1.i */ public static class i extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test1.s */ public static class s extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Test1.d */ public static class d 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 Test1.i */ public Test1 updateI(Instance _i){ return new Test1(_i, s, d); } /** Updater for field Test1.s */ public Test1 updateS(Solution _s){ return new Test1(i, _s, d); } /** Updater for field Test1.d */ public Test1 updateD(Domain _d){ return new Test1(i, s, _d); } /** Getter for field Test1.i */ public Instance getI(){ return i; } /** Getter for field Test1.s */ public Solution getS(){ return s; } /** Getter for field Test1.d */ public Domain getD(){ return d; } }