// File: VertexInfo.java
// Classes: VertexInfo
// Author: Kedar Patankar

package EDU.neu.ccs.demeter.tools.apstudio.graphedit;

import java.awt.Point;

/* Purpose : To collect properties of the vertex(class) during the reading of .gcd files.
*/
public class VertexInfo
{
	String _name,_beforeSyntax,_afterSyntax;
	Point _p;
	UID _id;

	public VertexInfo(UID id,String name, Point location)
	{
		_p=location;
		_name=name;
		_id=id;
		_beforeSyntax=null;
		_afterSyntax=null;
	}
	public VertexInfo(UID id,String name, Point location,String before,String after)
	{
		_p=location;
		_name=name;
		_id=id;
		_beforeSyntax=before;
		_afterSyntax=after;
	}

	public String get_name(){return _name;}
	public Point get_position(){return _p;}
	public UID get_id(){return _id;}
	public String get_before(){return _beforeSyntax;}
	public String get_after(){return _afterSyntax;}

}/* end class VertexInfo */
