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