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.operations;
12 import org.opendaylight.ovsdb.lib.table.Table;
14 import com.fasterxml.jackson.annotation.JsonProperty;
15 // TODO Madhu : This is not complete. Getting it in to enable other committers to make progress
16 public class InsertOperation extends Operation {
18 @JsonProperty("uuid-name")
19 public String uuidName;
22 public InsertOperation() {
24 super.setOp("insert");
27 public InsertOperation(String table, String uuidName,
31 this.uuidName = uuidName;
35 public String getTable() {
39 public void setTable(String table) {
43 public String getUuidName() {
47 public void setUuidName(String uuidName) {
48 this.uuidName = uuidName;
51 public Table<?> getRow() {
55 public void setRow(Table<?> row) {
60 public String toString() {
61 return "InsertOperation [table=" + table + ", uuidName=" + uuidName
62 + ", row=" + row + ", toString()=" + super.toString() + "]";