Fix checkstyle violations in schema
[ovsdb.git] / schemas / openvswitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / OpenVSwitch.java
1 /*
2  * Copyright (c) 2013, 2015 Red Hat, Inc. and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.schema.openvswitch;
10
11 import java.util.Map;
12 import java.util.Set;
13 import org.opendaylight.ovsdb.lib.notation.Column;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
15 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
16 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
19 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
20
21
22 /**
23  * This class is a typed interface to the Open_vSwitch table.
24  */
25 @TypedTable(name = "Open_vSwitch", database = "Open_vSwitch", fromVersion = "1.0.0")
26 public interface OpenVSwitch extends TypedBaseTable<GenericTableSchema> {
27
28     @TypedColumn(name = "bridges", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
29     Column<GenericTableSchema, Set<UUID>> getBridgesColumn();
30
31     @TypedColumn(name = "bridges", method = MethodType.SETDATA, fromVersion = "1.0.0")
32     void setBridges(Set<UUID> bridges);
33
34     @TypedColumn(name = "managers", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "2.0.0")
35     Column<GenericTableSchema, Set<UUID>> getManagersColumn();
36
37     @TypedColumn(name = "managers", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "2.0.0")
38     void setManagers(Set<UUID> managers);
39
40     @TypedColumn(name = "manager_options", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
41     Column<GenericTableSchema, Set<UUID>> getManagerOptionsColumn();
42
43     @TypedColumn(name = "manager_options", method = MethodType.SETDATA, fromVersion = "1.0.0")
44     void setManagerOptions(Set<UUID> managerOptions);
45
46     @TypedColumn(name = "ssl", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
47     Column<GenericTableSchema, Set<UUID>> getSslColumn();
48
49     @TypedColumn(name = "ssl", method = MethodType.SETDATA, fromVersion = "1.0.0")
50     void setSsl(Set<UUID> ssl);
51
52     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "5.1.0")
53     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
54
55     @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "5.1.0")
56     void setOtherConfig(Map<String, String> otherConfig);
57
58     @TypedColumn(name = "external_ids", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
59     Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
60
61     @TypedColumn(name = "external_ids", method = MethodType.SETDATA, fromVersion = "1.0.0")
62     void setExternalIds(Map<String, String> externalIds);
63
64     @TypedColumn(name = "next_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
65     Column<GenericTableSchema, Long> getNextConfigColumn();
66
67     @TypedColumn(name = "next_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0")
68     void setNextConfig(Long nextConfig);
69
70     @TypedColumn(name = "cur_cfg", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
71     Column<GenericTableSchema, Long> getCurrentConfigColumn();
72
73     @TypedColumn(name = "cur_cfg", method = MethodType.SETDATA, fromVersion = "1.0.0")
74     void setCurrentConfig(Long currentConfig);
75
76     @TypedColumn(name = "capabilities", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "6.7.0")
77     Column<GenericTableSchema, Map<String, UUID>> getCapabilitiesColumn();
78
79     @TypedColumn(name = "capabilities", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "6.7.0")
80     void setCapabilities(Map<String, UUID> capabilities);
81
82     @TypedColumn(name = "statistics", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
83     Column<GenericTableSchema, Map<String, Long>> getStatisticsColumn();
84
85     @TypedColumn(name = "statistics", method = MethodType.SETDATA, fromVersion = "1.0.0")
86     void setStatistics(Map<String, Long> statistics);
87
88     @TypedColumn(name = "ovs_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
89     Column<GenericTableSchema, Set<String>> getOvsVersionColumn();
90
91     @TypedColumn(name = "ovs_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
92     void setOvsVersion(Set<String> ovsVersion);
93
94     @TypedColumn(name = "db_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
95     Column<GenericTableSchema, Set<String>> getDbVersionColumn();
96
97     @TypedColumn(name = "db_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
98     void setDbVersion(Set<String> dbVersion);
99
100     @TypedColumn(name = "system_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
101     Column<GenericTableSchema, Set<String>> getSystemTypeColumn();
102
103     @TypedColumn(name = "system_type", method = MethodType.SETDATA, fromVersion = "1.0.0")
104     void setSystemType(Set<String> systemType);
105
106     @TypedColumn(name = "system_version", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
107     Column<GenericTableSchema, Set<String>> getSystemVersionColumn();
108
109     @TypedColumn(name = "system_version", method = MethodType.SETDATA, fromVersion = "1.0.0")
110     void setSystemVersion(Set<String> systemVersion);
111
112     @TypedColumn(name = "datapath_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1")
113     Column<GenericTableSchema, Set<String>> getDatapathTypesColumn();
114
115     @TypedColumn(name = "datapath_types", method = MethodType.SETDATA, fromVersion = "7.12.1")
116     @SuppressWarnings("checkstyle:ParameterName")
117     void setDatapathTypes(Set<String> datapath_types);
118
119     @TypedColumn(name = "iface_types", method = MethodType.GETCOLUMN, fromVersion = "7.12.1")
120     Column<GenericTableSchema, Set<String>> getIfaceTypesColumn();
121
122     @TypedColumn(name = "iface_types", method = MethodType.SETDATA, fromVersion = "7.12.1")
123     @SuppressWarnings("checkstyle:ParameterName")
124     void setIfaceTypes(Set<String> iface_types);
125 }