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

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

package com.weaverplatform.protocol.model;

/**
 * @author Mohamad Alamili
 */
public class RemoveRelationOperation extends RemovePropertyOperation {

  private CreateRelationOperation _previous;

  public RemoveRelationOperation(String user, String id) {
    super(user, id);
  }

  @Deprecated
  public RemoveRelationOperation(String user, String id, String removeId) {
    super(user, id, removeId);
  }

  public WriteOperationAction getAction(){
    return WriteOperationAction.REMOVE_RELATION;
  }

  public void setPrevious(CreateRelationOperation previous) {
    this._previous = previous;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy