// ** This file was generated with DemFGen (vers:12/15/2010)

package scg;

import edu.neu.ccs.demeterf.lib.*;
import java.lang.reflect.*;





/** Representation of Qualifier */
public class Qualifier{
    protected ident name;

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

    /** Field Class for Qualifier.name */
    public static class name extends edu.neu.ccs.demeterf.Fields.any{}

    /** DGP method from Class Print */
    public String print(){ return scg.Print.PrintM(this); }
    /** Setter for field Qualifier.name */
    public void setName(ident _name){ name = _name; }
    /** Getter for field Qualifier.name */
    public ident getName(){ return name; }

}


