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

com.weaverplatform.protocol.model.TruncateGraphOperation Maven / Gradle / Ivy

There is a newer version: 3.27.0
Show newest version
package com.weaverplatform.protocol.model;

/**
 * @author Mohamad Alamili
 */
public class TruncateGraphOperation extends WriteOperation {
  private String removeId, removeGraph;

  public TruncateGraphOperation(String user, String graph, String removeId) {
    super(user, null);
    this.removeId = removeId;
    super.setGraph(graph);
  }

  public String getRemoveId() {
    return removeId;
  }

  @Override
  public WriteOperationAction getAction() {
    return WriteOperationAction.TRUNCATE_GRAPH;
  }

  public void setRemoveId(String removeId) {
    this.removeId = removeId;
  }

  public String getRemoveGraph() {
    return removeGraph;
  }

  public void setRemoveGraph(String removeGraph) {
    this.removeGraph = removeGraph;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy