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

package scg;

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





/** Representation of PlayerRequest */
public class PlayerRequest{
    protected Request request;

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

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

    /** DGP method from Class Print */
    public String print(){ return scg.Print.PrintM(this); }
    /** Setter for field PlayerRequest.request */
    public void setRequest(Request _request){ request = _request; }
    /** Getter for field PlayerRequest.request */
    public Request getRequest(){ return request; }

}


