/******************************************************************************* * Copyright (c) 2014 EURA NOVA. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v2.0 * which accompanies this distribution, and is available at * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * Contributors: * Aldemar Reynaga - initial API and implementation * Salim Jouili - initial API and implementation ******************************************************************************/ package com.steffi.traversal; import java.io.Serializable; import com.steffi.model.EdgeType; /** * @author Aldemar Reynaga * Element of the ReducedVertexPath linked list */ public class VertexPathElement implements Serializable { /** * */ private static final long serialVersionUID = 8535164074892304269L; private EdgeType edgeType; private String edgeName; private long destCellId; private int depth; public VertexPathElement() { } public VertexPathElement(EdgeType edgeType, String edgeName, long destCellId, int depth) { this.edgeType = edgeType; this.edgeName = edgeName; this.destCellId = destCellId; this.depth = depth; } public EdgeType getEdgeType() { return edgeType; } public void setEdgeType(EdgeType edgeType) { this.edgeType = edgeType; } public String getEdgeName() { return edgeName; } public void setEdgeName(String edgeName) { this.edgeName = edgeName; } public long getDestCellId() { return destCellId; } public void setDestCellId(long destCellId) { this.destCellId = destCellId; } public int getDepth() { return depth; } public void setDepth(int depth) { this.depth = depth; } }