Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / table / Qos.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.UUID;
15
16 import com.fasterxml.jackson.annotation.JsonIgnore;
17
18 public class Qos extends Table<Qos> {
19
20     public static final Name<Qos> NAME = new Name<Qos>("QoS") {};
21
22     private OvsDBMap<Integer, UUID> queues;
23     private String type;
24     private OvsDBMap<String, String> other_config;
25     private OvsDBMap<String, String> external_ids;
26
27     public Qos() {
28     }
29
30     public OvsDBMap<Integer, UUID> getQueues() {
31         return queues;
32     }
33
34     public void setQueues(OvsDBMap<Integer, UUID> queues) {
35         this.queues = queues;
36     }
37
38     public String getType() {
39         return type;
40     }
41
42     public void setType(String type) {
43         this.type = type;
44     }
45
46     public OvsDBMap<String, String> getOther_config() {
47         return other_config;
48     }
49
50     public void setOther_config(OvsDBMap<String, String> other_config) {
51         this.other_config = other_config;
52     }
53
54     public OvsDBMap<String, String> getExternal_ids() {
55         return external_ids;
56     }
57
58     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
59         this.external_ids = external_ids;
60     }
61
62     @Override
63     @JsonIgnore
64     public Name<Qos> getTableName() {
65         return NAME;
66     }
67
68     @Override
69     public String toString() {
70         return "Qos [queues=" + queues + ", type=" + type + ", other_config="
71                 + other_config + ", external_ids=" + external_ids + "]";
72     }
73
74     public enum Column implements org.opendaylight.ovsdb.lib.table.Column<Qos> {
75         queues,
76         type,
77         other_config,
78         external_ids}
79 }