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

org.securegraph.mutation.ExistingEdgeMutation Maven / Gradle / Ivy

The newest version!
package org.securegraph.mutation;

import org.securegraph.Edge;

public abstract class ExistingEdgeMutation extends ExistingElementMutationImpl implements EdgeMutation {
    private String newEdgeLabel;

    public ExistingEdgeMutation(Edge edge) {
        super(edge);
    }

    @Override
    public EdgeMutation alterEdgeLabel(String newEdgeLabel) {
        this.newEdgeLabel = newEdgeLabel;
        return this;
    }

    @Override
    public String getNewEdgeLabel() {
        return newEdgeLabel;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy