// ** This class was generated with DemFGen (vers:02/11/2009) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; /** Representation of Vertex */ public class Vertex{ public final ident name; /** Construct a(n) Vertex Instance */ public Vertex(ident name){ this.name = name; } /** Is the given Vertex Equal to this one? */ public boolean equals(Object o){ if(!(o instanceof Vertex))return false; Vertex oo = (Vertex)o; return (((Object)name).equals(oo.name)); } /** Parse an instance of Vertex from the given String */ public static Vertex parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Vertex(); } /** Parse an instance of Vertex from the given Stream */ public static Vertex parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Vertex(); } /** Parse an instance of Vertex from the given Reader */ public static Vertex parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Vertex(); } /** Field Class for Vertex.name */ public static class name 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); } }