Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / table / Queue.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
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 : Brent Salisbury, Madhu Venugopal, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.lib.table;
11
12
13 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
14 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
15 import org.opendaylight.ovsdb.lib.table.internal.Table;
16
17 import com.fasterxml.jackson.annotation.JsonIgnore;
18
19 public class Queue extends Table<Queue> {
20
21     public static final Name<Queue> NAME = new Name<Queue>("Queue") {};
22
23     private OvsDBSet<Integer> dscp;
24     private OvsDBMap<String, String> other_config;
25     private OvsDBMap<String, String> external_ids;
26
27     public Queue() {
28     }
29
30     public OvsDBSet<Integer> getDscp() {
31         return dscp;
32     }
33
34     public void setDscp(OvsDBSet<Integer> dscp) {
35         this.dscp = dscp;
36     }
37
38     public OvsDBMap<String, String> getOther_config() {
39         return other_config;
40     }
41
42     public void setOther_config(OvsDBMap<String, String> other_config) {
43         this.other_config = other_config;
44     }
45
46     public OvsDBMap<String, String> getExternal_ids() {
47         return external_ids;
48     }
49
50     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
51         this.external_ids = external_ids;
52     }
53
54     @Override
55     @JsonIgnore
56     public Name<Queue> getTableName() {
57         return NAME;
58     }
59
60     @Override
61     public String toString() {
62         return "Queue [dscp=" + dscp + ", other_config=" + other_config
63                 + ", external_ids=" + external_ids + "]";
64     }
65
66     public enum Column implements org.opendaylight.ovsdb.lib.table.internal.Column<Queue> {
67         dscp,
68         other_config,
69         external_ids}
70 }