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

package scg;

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





/** Representation of ProposeResponse */
public class ProposeResponse extends Response{
    protected List<Claim> claims;

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

    /** Field Class for ProposeResponse.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 ProposeResponse.claims */
    public void setClaims(List<Claim> _claims){ claims = _claims; }
    /** Getter for field ProposeResponse.claims */
    public List<Claim> getClaims(){ return claims; }

}


