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

package scg;

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





/** Representation of ProposeRequest */
public class ProposeRequest extends Request{
    protected List<Claim> forbidden;

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

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

    /** DGP method from Class Print */
    public String print(){ return scg.Print.PrintM(this); }
    /** Setter for field ProposeRequest.forbidden */
    public void setForbidden(List<Claim> _forbidden){ forbidden = _forbidden; }
    /** Getter for field ProposeRequest.forbidden */
    public List<Claim> getForbidden(){ return forbidden; }

}


