// ** This class was generated with DemFGen (vers:02/27/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of KitchenCabinet */ public class KitchenCabinet extends PlaceWithMoney{ public final Money m; /** Construct a(n) KitchenCabinet Instance */ public KitchenCabinet(Money m){ this.m = m; } /** Is the given KitchenCabinet Equal to this one? */ public boolean equals(Object o){ if(!(o instanceof KitchenCabinet))return false; KitchenCabinet oo = (KitchenCabinet)o; return (((Object)m).equals(oo.m)); } /** Parse an instance of KitchenCabinet from the given String */ public static KitchenCabinet parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_KitchenCabinet(); } /** Parse an instance of KitchenCabinet from the given Stream */ public static KitchenCabinet parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_KitchenCabinet(); } /** Parse an instance of KitchenCabinet from the given Reader */ public static KitchenCabinet parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_KitchenCabinet(); } /** Field Class for KitchenCabinet.m */ public static class m 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); } }