org.securegraph.VertexBuilder Maven / Gradle / Ivy
The newest version!
package org.securegraph;
public abstract class VertexBuilder extends ElementBuilder {
private String vertexId;
private Visibility visibility;
public VertexBuilder(String vertexId, Visibility visibility) {
this.vertexId = vertexId;
this.visibility = visibility;
}
/**
* Save the vertex along with any properties that were set to the graph.
*
* @return The newly created vertex.
*/
@Override
public abstract Vertex save(Authorizations authorizations);
public String getVertexId() {
return vertexId;
}
public Visibility getVisibility() {
return visibility;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy