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