// File: EdgeInfo.java // Classes: EdgeInfo // Author: Kedar Patankar package edu.neu.ccs.demeter.tools.apstudio.graphedit; import java.awt.Point; /* Purpose : This class is responsible for collecting the data for the edges during traversal through graph object */ public class EdgeInfo{ String _name, _card,_beforeSyntax,_afterSyntax; UID _from, _to,_id; Point _bendpoint; public EdgeInfo(String name, String cardinality,String before,String after, UID from,UID to,UID id,Point bendpoint) { _from=from; _to=to; _id=id; _name=name; _card = cardinality; _beforeSyntax=before; _afterSyntax=after; _bendpoint=bendpoint; } public String get_name(){return _name;} public String get_card(){return _card;} public UID get_id(){return _id;} public UID get_from(){return _from;} public UID get_to(){return _to; } public String get_beforeSyntax(){return _beforeSyntax;} public String get_afterSyntax(){return _afterSyntax;} public Point get_bendpoint(){return _bendpoint;} } /* end class EdgeInfo */