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

package scg;

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





/** Representation of OpposeRequest */
public class OpposeRequest extends Request{
    protected List<Claim> claims;

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

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

    /** DGP method from Class Print */
    public String print(){ return scg.Print.PrintM(this); }
    /** Setter for field OpposeRequest.claims */
    public void setClaims(List<Claim> _claims){ claims = _claims; }
    /** Getter for field OpposeRequest.claims */
    public List<Claim> getClaims(){ return claims; }

}


