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 java.util.List;
14 import org.opendaylight.ovsdb.lib.notation.Condition;
15 import org.opendaylight.ovsdb.lib.table.internal.Table;
16 //TODO Madhu : This is not complete. Getting it in to enable other committers to make progress
17 public class UpdateOperation extends Operation {
19 List<Condition> where;
22 public UpdateOperation(String table, List<Condition> where, Table<?> row) {
24 super.setOp("update");
29 public String getTable() {
32 public void setTable(String table) {
35 public List<Condition> getWhere() {
38 public void setWhere(List<Condition> where) {
41 public Table<?> getRow() {
44 public void setRow(Table<?> row) {
48 public String toString() {
49 return "UpdateOperation [table=" + table + ", where=" + where
50 + ", row=" + row + ", toString()=" + super.toString() + "]";