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

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

package com.weaverplatform.protocol.model;

public class ChangeNodeGraphOperation extends WriteOperation {

  private String oldGraph;

  public ChangeNodeGraphOperation(String user, String id, String oldGraph, String newGraph) {
    super(user, id);
    this.setGraph(newGraph);
    this.oldGraph = oldGraph;
  }

  public String getOldGraph() {
    return oldGraph;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy