// ** 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 RefuteReply */ public class RefuteReply extends OpposeOrAgreeReply{ protected final Claim c; /** Construct a(n) RefuteReply Instance */ public RefuteReply(Claim c){ this.c = c; } /** Is the given object Equal to this RefuteReply? */ public boolean equals(Object o){ if(!(o instanceof RefuteReply))return false; if(o == this)return true; RefuteReply oo = (RefuteReply)o; return (((Object)c).equals(oo.c)); } /** Parse an instance of RefuteReply from the given String */ public static RefuteReply parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_RefuteReply(); } /** Parse an instance of RefuteReply from the given Stream */ public static RefuteReply parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_RefuteReply(); } /** Parse an instance of RefuteReply from the given Reader */ public static RefuteReply parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_RefuteReply(); } /** Field Class for RefuteReply.c */ public static class c 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 RefuteReply.c */ public RefuteReply updateC(Claim _c){ return new RefuteReply(_c); } /** Getter for field RefuteReply.c */ public Claim getC(){ return c; } }