// ** This class was generated with DemFGen (vers:01/05/2008) package gen; import edu.neu.ccs.demeterf.demfgen.lib.*; import edu.neu.ccs.demeterf.*; public class Relation{ public final Length length; public final Positive pos; public Relation(Length length, Positive pos){ this.length = length; this.pos = pos; } public boolean equals(Object o){ if(!(o instanceof Relation))return false; Relation oo = (Relation)o; return (((Object)length).equals(oo.length))&&(((Object)pos).equals(oo.pos)); } public static Relation parse(String inpt) throws ParseException{ return new TheParser(new java.io.StringReader(inpt)).parse_Relation(); } public static Relation parse(java.io.InputStream inpt) throws ParseException{ return new TheParser(inpt).parse_Relation(); } public static Relation parse(java.io.Reader inpt) throws ParseException{ return new TheParser(inpt).parse_Relation(); } public static class length extends edu.neu.ccs.demeterf.control.Fields.any{} public static class pos extends edu.neu.ccs.demeterf.control.Fields.any{} public String display(){ return gen.Display.DisplayM(this); } public String print(){ return gen.Print.PrintM(this); } public String toStr(){ return gen.ToStr.ToStrM(this); } }