// ** This file was generated with DemFGen (vers:12/15/2010) package gen; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of HSRTest */ public class HSRTest{ protected final Domain d; protected final Claim c; protected final Solution s; /** Construct a(n) HSRTest Instance */ public HSRTest(Domain d, Claim c, Solution s){ this.d = d; this.c = c; this.s = s; } /** Is the given object Equal to this HSRTest? */ public boolean equals(Object o){ if(!(o instanceof HSRTest))return false; if(o == this)return true; HSRTest oo = (HSRTest)o; return (((Object)d).equals(oo.d))&&(((Object)c).equals(oo.c))&&(((Object)s).equals(oo.s)); } /** Parse an instance of HSRTest from the given String */ public static HSRTest parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_HSRTest(); } /** Parse an instance of HSRTest from the given Stream */ public static HSRTest parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_HSRTest(); } /** Parse an instance of HSRTest from the given Reader */ public static HSRTest parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_HSRTest(); } /** Field Class for HSRTest.d */ public static class d extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for HSRTest.c */ public static class c extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for HSRTest.s */ public static class s 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 HSRTest.d */ public HSRTest updateD(Domain _d){ return new HSRTest(_d, c, s); } /** Updater for field HSRTest.c */ public HSRTest updateC(Claim _c){ return new HSRTest(d, _c, s); } /** Updater for field HSRTest.s */ public HSRTest updateS(Solution _s){ return new HSRTest(d, c, _s); } /** Getter for field HSRTest.d */ public Domain getD(){ return d; } /** Getter for field HSRTest.c */ public Claim getC(){ return c; } /** Getter for field HSRTest.s */ public Solution getS(){ return s; } }