// ** This file was generated with DemFGen (vers:12/15/2010) package scg; import edu.neu.ccs.demeterf.lib.*; import java.lang.reflect.*; /** Representation of PlayerResponse */ public class PlayerResponse{ protected Response transaction; /** Construct a(n) PlayerResponse Instance */ public PlayerResponse(Response transaction){ this.transaction = transaction; } /** Is the given object Equal to this PlayerResponse? */ public boolean equals(Object o){ if(!(o instanceof PlayerResponse))return false; if(o == this)return true; PlayerResponse oo = (PlayerResponse)o; return (((Object)transaction).equals(oo.transaction)); } /** Parse an instance of PlayerResponse from the given String */ public static PlayerResponse parse(String inpt) throws scg.ParseException{ return new scg.TheParser(new java.io.StringReader(inpt)).parse_PlayerResponse(); } /** Parse an instance of PlayerResponse from the given Stream */ public static PlayerResponse parse(java.io.InputStream inpt) throws scg.ParseException{ return new scg.TheParser(inpt).parse_PlayerResponse(); } /** Parse an instance of PlayerResponse from the given Reader */ public static PlayerResponse parse(java.io.Reader inpt) throws scg.ParseException{ return new scg.TheParser(inpt).parse_PlayerResponse(); } /** Field Class for PlayerResponse.transaction */ public static class transaction extends edu.neu.ccs.demeterf.Fields.any{} /** DGP method from Class Print */ public String print(){ return scg.Print.PrintM(this); } /** Setter for field PlayerResponse.transaction */ public void setTransaction(Response _transaction){ transaction = _transaction; } /** Getter for field PlayerResponse.transaction */ public Response getTransaction(){ return transaction; } }