package org.ntlab.deltaViewer; import java.util.ArrayList; import java.util.List; import com.mxgraph.model.mxICell; /** * Object vertex. * * @author Nitta Lab. */ public class VertexObject extends Vertex { protected List<VertexMethodExecution> vertexMethodExecutions = new ArrayList<>(); public VertexObject(String label, Object cell) { super(label, cell); } public VertexObject(String label, Object cell, double initialX, double initialY) { super(label, cell, initialX, initialY); } public VertexObject(String label, Object cell, double x, double y, double width, double height) { super(label, cell, x, y, width, height); } public List<VertexMethodExecution> getVertexMethodExecutions() { return vertexMethodExecutions; } public void setVertexMethodExecutions(List<VertexMethodExecution> vertexMethodExecutions) { this.vertexMethodExecutions = vertexMethodExecutions; } public void addMethodExecution(VertexMethodExecution vertexMethodExecution) { this.vertexMethodExecutions.add(vertexMethodExecution); } }