// ** 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 Claim */ public abstract class Claim{ protected final Problem problems; protected final Quality q; protected final Time r; /** Construct a(n) Claim Instance */ public Claim(Problem problems, Quality q, Time r){ this.problems = problems; this.q = q; this.r = r; } /** Parse an instance of Claim from the given String */ public static Claim parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_Claim(); } /** Parse an instance of Claim from the given Stream */ public static Claim parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Claim(); } /** Parse an instance of Claim from the given Reader */ public static Claim parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_Claim(); } /** Field Class for Claim.problems */ public static class problems extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Claim.q */ public static class q extends edu.neu.ccs.demeterf.Fields.any{} /** Field Class for Claim.r */ public static class r 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); } /** Abstract updater for field Claim.problems */ public abstract Claim updateProblems(Problem _problems); /** Abstract updater for field Claim.q */ public abstract Claim updateQ(Quality _q); /** Abstract updater for field Claim.r */ public abstract Claim updateR(Time _r); /** Getter for field Claim.problems */ public abstract Problem getProblems(); /** Getter for field Claim.q */ public abstract Quality getQ(); /** Getter for field Claim.r */ public abstract Time getR(); }