// ** This file was generated with DemFGen (vers:12/15/2010) package gen; import edu.neu.ccs.demeterf.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of NegatedClaim */ public class NegatedClaim extends CompoundClaim{ protected final Claim c1; /** Construct a(n) NegatedClaim Instance */ public NegatedClaim(Claim c1, Option args){ super(args); this.c1 = c1; } /** Is the given object Equal to this NegatedClaim? */ public boolean equals(Object o){ if(!(o instanceof NegatedClaim))return false; if(o == this)return true; NegatedClaim oo = (NegatedClaim)o; return (((Object)c1).equals(oo.c1))&&(((Object)args).equals(oo.args)); } /** Parse an instance of NegatedClaim from the given String */ public static NegatedClaim parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_NegatedClaim(); } /** Parse an instance of NegatedClaim from the given Stream */ public static NegatedClaim parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_NegatedClaim(); } /** Parse an instance of NegatedClaim from the given Reader */ public static NegatedClaim parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_NegatedClaim(); } /** Field Class for NegatedClaim.c1 */ public static class c1 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 NegatedClaim.c1 */ public NegatedClaim updateC1(Claim _c1){ return new NegatedClaim(_c1, args); } /** Updater for field NegatedClaim.args */ public NegatedClaim updateArgs(Option _args){ return new NegatedClaim(c1, _args); } /** Getter for field NegatedClaim.c1 */ public Claim getC1(){ return c1; } /** Getter for field NegatedClaim.args */ public Option getArgs(){ return args; } }