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