2 * Copyright (C) 2013 Red Hat, Inc.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 * Authors : Madhu Venugopal
10 package org.opendaylight.ovsdb.lib.message.operations;
12 import com.fasterxml.jackson.annotation.JsonIgnore;
14 public abstract class Operation {
17 // Just a simple way to retain the result of a transact operation which the client can refer to.
18 private OperationResult result;
20 public String getOp() {
24 public void setOp(String op) {
28 public OperationResult getResult() {
32 public void setResult(OperationResult result) {
37 public String toString() {
38 return "Operation [op=" + op + ", result=" + result + "]";