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

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

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

public class ChangeAttributeKeyOperation extends WriteOperation {

  private String attributeKey, newAttributeKey;

  public ChangeAttributeKeyOperation(String user, String id, String graph, String attributeKey, String newAttributeKey) {
    super(user, id);
    this.setGraph(graph);
    this.attributeKey = attributeKey;
    this.newAttributeKey = newAttributeKey;
  }

  public String getAttributeKey() {
    return attributeKey;
  }

  public String getNewAttributeKey() {
    return newAttributeKey;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy