Added more ignorable files to .gitignore
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / table / Mirror.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 org.opendaylight.ovsdb.lib.notation.OvsDBMap;
13 import org.opendaylight.ovsdb.lib.notation.OvsDBSet;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15 import org.opendaylight.ovsdb.lib.table.internal.Table;
16
17 import com.fasterxml.jackson.annotation.JsonIgnore;
18
19 public class Mirror  extends Table<Mirror> {
20
21     public static final Name<Mirror> NAME = new Name<Mirror>("Mirror") {};
22     private String name;
23     private OvsDBSet<UUID> select_src_port;
24     private OvsDBSet<UUID> select_dst_port;
25     private OvsDBSet<Integer> select_vlan;
26     private OvsDBSet<UUID> output_port;
27     private OvsDBSet<Integer> output_vlan;
28     private OvsDBMap<String, Integer> statistics;
29     private OvsDBMap<String, String> external_ids;
30
31     public String getName() {
32         return name;
33     }
34
35     public void setName(String name) {
36         this.name = name;
37     }
38
39     public OvsDBSet<UUID> getSelect_src_port() {
40         return select_src_port;
41     }
42
43     public void setSelect_src_port(OvsDBSet<UUID> select_src_port) {
44         this.select_src_port = select_src_port;
45     }
46
47     public OvsDBSet<UUID> getSelect_dst_port() {
48         return select_dst_port;
49     }
50
51     public void setSelect_dst_port(OvsDBSet<UUID> select_dst_port) {
52         this.select_dst_port = select_dst_port;
53     }
54
55     public OvsDBSet<Integer> getSelect_vlan() {
56         return select_vlan;
57     }
58
59     public void setSelect_vlan(OvsDBSet<Integer> select_vlan) {
60         this.select_vlan = select_vlan;
61     }
62
63     public OvsDBSet<UUID> getOutput_port() {
64         return output_port;
65     }
66
67     public void setOutput_port(OvsDBSet<UUID> output_port) {
68         this.output_port = output_port;
69     }
70
71     public OvsDBSet<Integer> getOutput_vlan() {
72         return output_vlan;
73     }
74
75     public void setOutput_vlan(OvsDBSet<Integer> output_vlan) {
76         this.output_vlan = output_vlan;
77     }
78
79     public OvsDBMap<String, Integer> getStatistics() {
80         return statistics;
81     }
82
83     public void setStatistics(OvsDBMap<String, Integer> statistics) {
84         this.statistics = statistics;
85     }
86
87     public OvsDBMap<String, String> getExternal_ids() {
88         return external_ids;
89     }
90
91     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
92         this.external_ids = external_ids;
93     }
94
95     @Override
96     @JsonIgnore
97     public Name<Mirror> getTableName() {
98         return NAME;
99     }
100
101     @Override
102     public String toString() {
103         return "Mirror [name=" + name + ", select_src_port=" + select_src_port
104                 + ", select_dst_port=" + select_dst_port + ", select_vlan="
105                 + select_vlan + ", output_port=" + output_port
106                 + ", output_vlan=" + output_vlan + ", statistics=" + statistics
107                 + ", external_ids=" + external_ids + "]";
108     }
109 }