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