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