// ** 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 WorkBreakDownStructure */ public class WorkBreakDownStructure{ protected final List works; /** Construct a(n) WorkBreakDownStructure Instance */ public WorkBreakDownStructure(List works){ this.works = works; } /** Is the given object Equal to this WorkBreakDownStructure? */ public boolean equals(Object o){ if(!(o instanceof WorkBreakDownStructure))return false; if(o == this)return true; WorkBreakDownStructure oo = (WorkBreakDownStructure)o; return (((Object)works).equals(oo.works)); } /** Parse an instance of WorkBreakDownStructure from the given String */ public static WorkBreakDownStructure parse(String inpt) throws gen.ParseException{ return new gen.TheParser(new java.io.StringReader(inpt)).parse_WorkBreakDownStructure(); } /** Parse an instance of WorkBreakDownStructure from the given Stream */ public static WorkBreakDownStructure parse(java.io.InputStream inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_WorkBreakDownStructure(); } /** Parse an instance of WorkBreakDownStructure from the given Reader */ public static WorkBreakDownStructure parse(java.io.Reader inpt) throws gen.ParseException{ return new gen.TheParser(inpt).parse_WorkBreakDownStructure(); } /** Field Class for WorkBreakDownStructure.works */ public static class works 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 WorkBreakDownStructure.works */ public WorkBreakDownStructure updateWorks(List _works){ return new WorkBreakDownStructure(_works); } /** Getter for field WorkBreakDownStructure.works */ public List getWorks(){ return works; } }