// ** 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 Product */ public class Product extends Neighbors{ public final Any_vertex_list c_ns; /** Construct a(n) Product Instance */ public Product(Any_vertex_list c_ns){ this.c_ns = c_ns; } /** Is the given Product Equal to this one? */ public boolean equals(Object o){ if(!(o instanceof Product))return false; Product oo = (Product)o; return (((Object)c_ns).equals(oo.c_ns)); } /** Parse an instance of Product from the given String */ public static Product parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Product(); } /** Parse an instance of Product from the given Stream */ public static Product parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Product(); } /** Parse an instance of Product from the given Reader */ public static Product parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Product(); } /** Field Class for Product.c_ns */ public static class c_ns 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); } }