package org.ntlab.deltaViewer;
/**
* JGraphX Edge.
*
* @author Nitta Lab.
*/
public class Edge {
String label;
TypeName typeName;
Object cell;
protected enum TypeName {
Reference, // object reference
Create, // create object reference
Call // method call
}
/**
* @param label No display label
* @param typeName
* @param cell
*/
public Edge(String label, TypeName typeName, Object cell) {
this.label = label;
this.typeName = typeName;
this.cell = cell;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public TypeName getTypeName() {
return typeName;
}
public void setTypeName(TypeName typeName) {
this.typeName = typeName;
}
public Object getCell() {
return cell;
}
public void setCell(Object cell) {
this.cell = cell;
}
}