Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / table / Interface.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 import java.math.BigInteger;
13
14 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
15 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
16 import org.opendaylight.ovsdb.lib.table.internal.Table;
17
18 import com.fasterxml.jackson.annotation.JsonIgnore;
19
20 public class Interface extends Table<Interface> {
21
22     public static Name<Interface> NAME = new Name<Interface>("Interface") {};
23
24     private String name;
25     private OvsDBMap<String, String> options;
26     private String type;
27     private OvsDBSet<BigInteger> ofport;
28     private OvsDBSet<String> mac;
29     private OvsDBMap<String, Integer> statistics;
30     private OvsDBMap<String, String> status;
31     private OvsDBMap<String, String> other_config;
32     private OvsDBMap<String, String> external_ids;
33
34     public String getName() {
35         return name;
36     }
37
38     public void setName(String name) {
39         this.name = name;
40     }
41
42     public OvsDBMap<String, String> getOptions() {
43         return options;
44     }
45
46     public void setOptions(OvsDBMap<String, String> options) {
47         this.options = options;
48     }
49
50     public String getType() {
51         return type;
52     }
53
54     public void setType(String type) {
55         this.type = type;
56     }
57
58     public OvsDBSet<BigInteger> getOfport() {
59         return ofport;
60     }
61
62     public void setOfport(OvsDBSet<BigInteger> ofport) {
63         this.ofport = ofport;
64     }
65
66     public OvsDBSet<String> getMac() {
67         return mac;
68     }
69
70     public void setMac(OvsDBSet<String> mac) {
71         this.mac = mac;
72     }
73
74     public OvsDBMap<String, Integer> getStatistics() {
75         return statistics;
76     }
77
78     public void setStatistics(OvsDBMap<String, Integer> statistics) {
79         this.statistics = statistics;
80     }
81
82     public OvsDBMap<String, String> getStatus() {
83         return status;
84     }
85
86     public void setStatus(OvsDBMap<String, String> status) {
87         this.status = status;
88     }
89
90     public OvsDBMap<String, String> getOther_config() {
91         return other_config;
92     }
93
94     public void setOther_config(OvsDBMap<String, String> other_config) {
95         this.other_config = other_config;
96     }
97
98     public OvsDBMap<String, String> getExternal_ids() {
99         return external_ids;
100     }
101
102     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
103         this.external_ids = external_ids;
104     }
105
106     @Override
107     @JsonIgnore
108     public Name<Interface> getTableName() {
109         return NAME;
110     }
111
112     @Override
113     public String toString() {
114         return "Interface [name=" + name + ", options=" + options + ", type="
115                 + type + ", ofport=" + ofport + ", mac=" + mac
116                 + ", statistics=" + statistics + ", status=" + status
117                 + ", other_config=" + other_config + ", external_ids="
118                 + external_ids + "]";
119     }
120 }