Added more ignorable files to .gitignore
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / operations / SelectOperation.java
1 /*
2  * Copyright (C) 2013 Red Hat, Inc.
3  *
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
7  *
8  * Authors : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.lib.operations;
11
12 import java.util.List;
13
14 import org.opendaylight.ovsdb.lib.notation.Condition;
15
16 public class SelectOperation extends Operation {
17     String table;
18     List<Condition> where;
19     List<String> columns;
20
21     public SelectOperation(String table, List<Condition> where, List<String> columns) {
22         super();
23         super.setOp("select");
24         this.table = table;
25         this.where = where;
26         this.columns = columns;
27     }
28     public String getTable() {
29         return table;
30     }
31     public void setTable(String table) {
32         this.table = table;
33     }
34     public List<Condition> getWhere() {
35         return where;
36     }
37     public void setWhere(List<Condition> where) {
38         this.where = where;
39     }
40     public List<String> getColumns() {
41         return columns;
42     }
43     public void setColumns(List<String> columns) {
44         this.columns = columns;
45     }
46     @Override
47     public String toString() {
48         return "SelectOperation [table=" + table + ", where=" + where
49                 + ", columns=" + columns + "]";
50     }
51 }