// ** 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 ParticipantName */
public class ParticipantName{
    protected final String v;

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

    /** Field Class for ParticipantName.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 ParticipantName.v */
    public ParticipantName updateV(String _v){
        return new ParticipantName(_v);
    }
    /** Getter for field ParticipantName.v */
    public String getV(){ return v; }

}