// ** This file was generated with DemFGen (vers:12/15/2010)

package scg;

import edu.neu.ccs.demeterf.lib.*;
import java.lang.reflect.*;





/** Representation of ProvideResponse */
public class ProvideResponse extends Response{
    protected Instance instance;

    /** Construct a(n) ProvideResponse Instance */
    public ProvideResponse(Instance instance){
        this.instance = instance;
    }
    /** Is the given object Equal to this ProvideResponse? */
    public boolean equals(Object o){
        if(!(o instanceof ProvideResponse))return false;
        if(o == this)return true;
        ProvideResponse oo = (ProvideResponse)o;
        return (((Object)instance).equals(oo.instance));
    }
    /** Parse an instance of ProvideResponse from the given String */
    public static ProvideResponse parse(String inpt) throws scg.ParseException{
        return new scg.TheParser(new java.io.StringReader(inpt)).parse_ProvideResponse();
    }
    /** Parse an instance of ProvideResponse from the given Stream */
    public static ProvideResponse parse(java.io.InputStream inpt) throws scg.ParseException{
        return new scg.TheParser(inpt).parse_ProvideResponse();
    }
    /** Parse an instance of ProvideResponse from the given Reader */
    public static ProvideResponse parse(java.io.Reader inpt) throws scg.ParseException{
        return new scg.TheParser(inpt).parse_ProvideResponse();
    }

    /** Field Class for ProvideResponse.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 ProvideResponse.instance */
    public void setInstance(Instance _instance){ instance = _instance; }
    /** Getter for field ProvideResponse.instance */
    public Instance getInstance(){ return instance; }

}


