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

org.vertexium.ElementLocation Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium;

public interface ElementLocation extends ElementId {
    /**
     * the visibility of the element.
     */
    Visibility getVisibility();

    static EdgeElementLocation edge(
        String id,
        Visibility visibility,
        String label,
        String outVertexId,
        String inVertexId
    ) {
        return new DefaultEdgeElementLocation(
            id,
            visibility,
            label,
            outVertexId,
            inVertexId
        );
    }

    static VertexElementLocation vertex(String id, Visibility visibility) {
        return new DefaultVertexElementLocation(id, visibility);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy