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

package scg;

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





/** Representation of FullyQualifiedClassName */
public class FullyQualifiedClassName{
    protected ident name;
    protected List<Qualifier> rest;

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

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

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

}


