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

org.vertexium.ElementId Maven / Gradle / Ivy

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

public interface ElementId {
    static ElementId vertex(String id) {
        return new DefaultElementId(ElementType.VERTEX, id);
    }

    static ElementId edge(String id) {
        return new DefaultElementId(ElementType.EDGE, id);
    }

    static ElementId create(ElementType elementType, String id) {
        return new DefaultElementId(elementType, id);
    }

    /**
     * the type of the element.
     */
    ElementType getElementType();

    /**
     * id of the element.
     */
    String getId();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy