// ** 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 OpposeOrAgreeClaimExpectation */ public class OpposeOrAgreeClaimExpectation extends Expectation2{ protected final List claims; /** Construct a(n) OpposeOrAgreeClaimExpectation Instance */ public OpposeOrAgreeClaimExpectation(List claims){ this.claims = claims; } /** Is the given object Equal to this OpposeOrAgreeClaimExpectation? */ public boolean equals(Object o){ if(!(o instanceof OpposeOrAgreeClaimExpectation))return false; if(o == this)return true; OpposeOrAgreeClaimExpectation oo = (OpposeOrAgreeClaimExpectation)o; return (((Object)claims).equals(oo.claims)); } /** Parse an instance of OpposeOrAgreeClaimExpectation from the given String */ public static OpposeOrAgreeClaimExpectation parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_OpposeOrAgreeClaimExpectation(); } /** Parse an instance of OpposeOrAgreeClaimExpectation from the given Stream */ public static OpposeOrAgreeClaimExpectation parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_OpposeOrAgreeClaimExpectation(); } /** Parse an instance of OpposeOrAgreeClaimExpectation from the given Reader */ public static OpposeOrAgreeClaimExpectation parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_OpposeOrAgreeClaimExpectation(); } /** Field Class for OpposeOrAgreeClaimExpectation.claims */ public static class claims 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 OpposeOrAgreeClaimExpectation.claims */ public OpposeOrAgreeClaimExpectation updateClaims(List _claims){ return new OpposeOrAgreeClaimExpectation(_claims); } /** Getter for field OpposeOrAgreeClaimExpectation.claims */ public List getClaims(){ return claims; } }