// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.demfgen.lib.*; /** Representation of SecretOfChallenge */ public class SecretOfChallenge{ public Option assign; public Quality quality; /** Construct a(n) SecretOfChallenge Instance */ public SecretOfChallenge(Option assign, Quality quality){ this.assign = assign; this.quality = quality; } /** Is the given object Equal to this SecretOfChallenge? */ public boolean equals(Object o){ if(!(o instanceof SecretOfChallenge))return false; if(o == this)return true; SecretOfChallenge oo = (SecretOfChallenge)o; return (((Object)assign).equals(oo.assign))&&(((Object)quality).equals(oo.quality)); } /** Parse an instance of SecretOfChallenge from the given String */ public static SecretOfChallenge parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_SecretOfChallenge(); } /** Parse an instance of SecretOfChallenge from the given Stream */ public static SecretOfChallenge parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_SecretOfChallenge(); } /** Parse an instance of SecretOfChallenge from the given Reader */ public static SecretOfChallenge parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_SecretOfChallenge(); } /** Field Class for SecretOfChallenge.assign */ public static class assign extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for SecretOfChallenge.quality */ public static class quality extends edu.neu.ccs.demeterf.control.Fields.any{} /** DGP method from Class Display */ public String display(){ return gen.Display.DisplayM(this); } /** DGP method from Class PrintHeap */ public String print(){ return gen.PrintHeap.PrintHeapM(this); } /** DGP method from Class PrintHeapToString */ public String toString(){ return gen.PrintHeapToString.PrintHeapToStringM(this); } }