// ** This file was generated with DemFGen (vers:12/15/2010) package scg; import edu.neu.ccs.demeterf.lib.*; import java.lang.reflect.*; /** Representation of SolveResponse */ public class SolveResponse extends Response{ protected Instance instance; /** Construct a(n) SolveResponse Instance */ public SolveResponse(Instance instance){ this.instance = instance; } /** Is the given object Equal to this SolveResponse? */ public boolean equals(Object o){ if(!(o instanceof SolveResponse))return false; if(o == this)return true; SolveResponse oo = (SolveResponse)o; return (((Object)instance).equals(oo.instance)); } /** Parse an instance of SolveResponse from the given String */ public static SolveResponse parse(String inpt) throws scg.ParseException{ return new scg.TheParser(new java.io.StringReader(inpt)).parse_SolveResponse(); } /** Parse an instance of SolveResponse from the given Stream */ public static SolveResponse parse(java.io.InputStream inpt) throws scg.ParseException{ return new scg.TheParser(inpt).parse_SolveResponse(); } /** Parse an instance of SolveResponse from the given Reader */ public static SolveResponse parse(java.io.Reader inpt) throws scg.ParseException{ return new scg.TheParser(inpt).parse_SolveResponse(); } /** Field Class for SolveResponse.instance */ public static class instance extends edu.neu.ccs.demeterf.Fields.any{} /** DGP method from Class Print */ public String print(){ return scg.Print.PrintM(this); } /** Setter for field SolveResponse.instance */ public void setInstance(Instance _instance){ instance = _instance; } /** Getter for field SolveResponse.instance */ public Instance getInstance(){ return instance; } }