org.vertexium.ElementId Maven / Gradle / Ivy
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