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

package scg;

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





/** Representation of ProvideRequest */
public class ProvideRequest extends Request{
    protected Claim claim;

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

    /** Field Class for ProvideRequest.claim */
    public static class claim extends edu.neu.ccs.demeterf.Fields.any{}

    /** DGP method from Class Print */
    public String print(){ return scg.Print.PrintM(this); }
    /** Setter for field ProvideRequest.claim */
    public void setClaim(Claim _claim){ claim = _claim; }
    /** Getter for field ProvideRequest.claim */
    public Claim getClaim(){ return claim; }

}


