All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openl.rules.dependency.graph.DirectedEdge Maven / Gradle / Ivy

There is a newer version: 5.27.9
Show newest version
package org.openl.rules.dependency.graph;

/**
 * @author Andrei Astrouski
 */
public class DirectedEdge {

    private V sourceVertex;
    private V targetVertex;

    public DirectedEdge() {
    }

    public DirectedEdge(V sourceVertex, V targetVertex) {
        this.sourceVertex = sourceVertex;
        this.targetVertex = targetVertex;
    }

    public V getSourceVertex() {
        return sourceVertex;
    }

    public void setSourceVertex(V sourceVertex) {
        this.sourceVertex = sourceVertex;
    }

    public V getTargetVertex() {
        return targetVertex;
    }

    public void setTargetVertex(V targetVertex) {
        this.targetVertex = targetVertex;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy