Fix checkstyle violations in schema
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / LogicalRouter.java
1 /*
2  * Copyright (c) 2014, 2016 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.hardwarevtep;
10
11 import java.util.Map;
12 import org.opendaylight.ovsdb.lib.notation.Column;
13 import org.opendaylight.ovsdb.lib.notation.UUID;
14 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
15 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
17 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
18 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
19
20 @TypedTable(name = "Logical_Router", database = "hardware_vtep", fromVersion = "1.0.0")
21 public interface LogicalRouter extends TypedBaseTable<GenericTableSchema> {
22     @TypedColumn(name = "name", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
23     Column<GenericTableSchema, String> getNameColumn();
24
25     @TypedColumn(name = "name", method = MethodType.GETDATA, fromVersion = "1.0.0")
26     String getName();
27
28     @TypedColumn(name = "name", method = MethodType.SETDATA, fromVersion = "1.0.0")
29     void setName(String name);
30
31     @TypedColumn(name = "description", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
32     Column<GenericTableSchema, String> getDescriptionColumn();
33
34     @TypedColumn(name = "description", method = MethodType.GETDATA, fromVersion = "1.0.0")
35     String getDescription();
36
37     @TypedColumn(name = "description", method = MethodType.SETDATA, fromVersion = "1.0.0")
38     void setDescription(String description);
39
40     @TypedColumn(name = "switch_binding", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
41     Column<GenericTableSchema, Map<String, UUID>> getSwitchBindingColumn();
42
43     @TypedColumn(name = "switch_binding", method = MethodType.SETDATA, fromVersion = "1.0.0")
44     void setSwitchBinding(Map<String, UUID> switchBinding);
45
46     @TypedColumn(name = "static_routes", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
47     Column<GenericTableSchema, Map<String, String>> getStaticRoutesColumn();
48
49     @TypedColumn(name = "static_routes", method = MethodType.SETDATA, fromVersion = "1.0.0")
50     void setStaticRoutes(Map<String, String> staticRoutes);
51
52     @TypedColumn(name = "acl_binding", method = MethodType.GETCOLUMN, fromVersion = "1.4.0")
53     Column<GenericTableSchema, Map<String, UUID>> getAclBindingColumn();
54
55     @TypedColumn(name = "acl_binding", method = MethodType.SETDATA, fromVersion = "1.4.0")
56     void setAclBinding(Map<String, UUID> aclBinding);
57
58     @TypedColumn(name = "other_config", method = MethodType.GETCOLUMN, fromVersion = "1.5.1")
59     Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn();
60
61     @TypedColumn(name = "other_config", method = MethodType.SETDATA, fromVersion = "1.5.1")
62     void setOtherConfig(Map<String, String> otherConfig);
63 }