Added more ignorable files to .gitignore
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / table / SFlow.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
15 import com.fasterxml.jackson.annotation.JsonIgnore;
16
17 public class SFlow  extends Table<SFlow> {
18
19     public static final Name<SFlow> NAME = new Name<SFlow>("sFlow") {};
20     private OvsDBSet<String> agent;
21     private OvsDBSet<String> targets;
22     private OvsDBMap<String, String> external_ids;
23     private OvsDBSet<Integer> header;
24     private OvsDBSet<Integer> polling;
25     private OvsDBSet<Integer> sampling;
26
27     public OvsDBSet<String> getTargets() {
28         return targets;
29     }
30
31     public void setTargets(OvsDBSet<String> targets) {
32         this.targets = targets;
33     }
34
35     @Override
36     @JsonIgnore
37     public Name<SFlow> getTableName() {
38         return NAME;
39     }
40
41     public OvsDBSet<String> getAgent() {
42         return agent;
43     }
44
45     public void setAgent(OvsDBSet<String> agent) {
46         this.agent = agent;
47     }
48
49     public OvsDBMap<String, String> getExternal_ids() {
50         return external_ids;
51     }
52
53     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
54         this.external_ids = external_ids;
55     }
56
57     public OvsDBSet<Integer> getHeader() {
58         return header;
59     }
60
61     public void setHeader(OvsDBSet<Integer> header) {
62         this.header = header;
63     }
64
65     public OvsDBSet<Integer> getPolling() {
66         return polling;
67     }
68
69     public void setPolling(OvsDBSet<Integer> polling) {
70         this.polling = polling;
71     }
72
73     public OvsDBSet<Integer> getSampling() {
74         return sampling;
75     }
76
77     public void setSampling(OvsDBSet<Integer> sampling) {
78         this.sampling = sampling;
79     }
80
81     @Override
82     public String toString() {
83         return "SFlow [agent=" + agent + ", targets=" + targets
84                 + ", external_ids=" + external_ids + ", header=" + header
85                 + ", polling=" + polling + ", sampling=" + sampling + "]";
86     }
87 }