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