// ** 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 DField */
public class DField{
    public final Field f;

    /** Construct a(n) DField Instance */
    public DField(Field f){
        this.f = f;
    }
    /** Is the given object Equal to this DField? */
    public boolean equals(Object o){
        if(!(o instanceof DField))return false;
        if(o == this)return true;
        DField oo = (DField)o;
        return (((Object)f).equals(oo.f));
    }
    /** Parse an instance of DField from the given String */
    public static DField parse(String inpt) throws ParseException{
        return new TheParser(new java.io.StringReader(inpt)).parse_DField();
    }
    /** Parse an instance of DField from the given Stream */
    public static DField parse(java.io.InputStream inpt) throws ParseException{
        return new TheParser(inpt).parse_DField();
    }
    /** Parse an instance of DField from the given Reader */
    public static DField parse(java.io.Reader inpt) throws ParseException{
        return new TheParser(inpt).parse_DField();
    }

    /** Field Class for DField.f */
    public static class f 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); }

}