// ** This class was generated with DemFGen (vers:06/04/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; /** Representation of PlayerStore */ public class PlayerStore{ public List forSale; public List bought; /** Construct a(n) PlayerStore Instance */ public PlayerStore(List forSale, List bought){ this.forSale = forSale; this.bought = bought; } /** Is the given object Equal to this PlayerStore? */ public boolean equals(Object o){ if(!(o instanceof PlayerStore))return false; if(o == this)return true; PlayerStore oo = (PlayerStore)o; return (((Object)forSale).equals(oo.forSale))&&(((Object)bought).equals(oo.bought)); } /** Parse an instance of PlayerStore from the given String */ public static PlayerStore parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_PlayerStore(); } /** Parse an instance of PlayerStore from the given Stream */ public static PlayerStore parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_PlayerStore(); } /** Parse an instance of PlayerStore from the given Reader */ public static PlayerStore parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_PlayerStore(); } /** Field Class for PlayerStore.forSale */ public static class forSale extends edu.neu.ccs.demeterf.control.Fields.any{} /** Field Class for PlayerStore.bought */ public static class bought 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); } }