// ** This file was generated with DemFGen (vers:12/15/2010) package gen; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; import java.lang.Integer; /** Representation of ProposeClaimExpectation */ public class ProposeClaimExpectation extends Expectation2{ protected final List forbidden; /** Construct a(n) ProposeClaimExpectation Instance */ public ProposeClaimExpectation(List forbidden){ this.forbidden = forbidden; } /** Is the given object Equal to this ProposeClaimExpectation? */ public boolean equals(Object o){ if(!(o instanceof ProposeClaimExpectation))return false; if(o == this)return true; ProposeClaimExpectation oo = (ProposeClaimExpectation)o; return (((Object)forbidden).equals(oo.forbidden)); } /** Parse an instance of ProposeClaimExpectation from the given String */ public static ProposeClaimExpectation parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_ProposeClaimExpectation(); } /** Parse an instance of ProposeClaimExpectation from the given Stream */ public static ProposeClaimExpectation parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_ProposeClaimExpectation(); } /** Parse an instance of ProposeClaimExpectation from the given Reader */ public static ProposeClaimExpectation parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_ProposeClaimExpectation(); } /** Field Class for ProposeClaimExpectation.forbidden */ public static class forbidden extends edu.neu.ccs.demeterf.Fields.any{} /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } /** DGP method from Class Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } /** Updater for field ProposeClaimExpectation.forbidden */ public ProposeClaimExpectation updateForbidden(List _forbidden){ return new ProposeClaimExpectation(_forbidden); } /** Getter for field ProposeClaimExpectation.forbidden */ public List getForbidden(){ return forbidden; } }