// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of Family */ public class Family extends Challenge{ public final RandomGenerationAspect a; /** Construct a(n) Family Instance */ public Family(RandomGenerationAspect a, Price price){ super(price); this.a = a; } /** Is the given object Equal to this Family? */ public boolean equals(Object o){ if(!(o instanceof Family))return false; if(o == this)return true; Family oo = (Family)o; return (((Object)a).equals(oo.a))&&(((Object)price).equals(oo.price)); } /** Parse an instance of Family from the given String */ public static Family parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Family(); } /** Parse an instance of Family from the given Stream */ public static Family parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Family(); } /** Parse an instance of Family from the given Reader */ public static Family parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Family(); } /** Field Class for Family.a */ public static class a 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 Print */ public String print(){ return gen.Print.PrintM(this); } /** DGP method from Class ToStr */ public String toStr(){ return gen.ToStr.ToStrM(this); } }