Fix checkstyle violations in schema
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / PhysicalLocator.java
1 /*
2  * Copyright (c) 2014, 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.hardwarevtep;
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.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 = "Physical_Locator", database = "hardware_vtep", fromVersion = "1.0.0")
21 public interface PhysicalLocator extends TypedBaseTable<GenericTableSchema> {
22     @TypedColumn(name = "encapsulation_type", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
23     Column<GenericTableSchema, String> getEncapsulationTypeColumn();
24
25     @TypedColumn(name = "encapsulation_type", method = MethodType.SETDATA, fromVersion = "1.0.0")
26     void setEncapsulationType(String encapsulationType);
27
28     @TypedColumn(name = "dst_ip", method = MethodType.GETCOLUMN, fromVersion = "1.0.0")
29     Column<GenericTableSchema, String> getDstIpColumn();
30
31     @TypedColumn(name = "dst_ip", method = MethodType.SETDATA, fromVersion = "1.0.0")
32     void setDstIp(String dstIp);
33
34     @TypedColumn(name = "bfd", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0")
35     Column<GenericTableSchema, Map<String, String>> getBfdColumn();
36
37     @TypedColumn(name = "bfd", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0")
38     void setBfd(Map<String, String> bfd);
39
40     @TypedColumn(name = "bfd_status", method = MethodType.GETCOLUMN, fromVersion = "1.0.0", untilVersion = "1.2.0")
41     Column<GenericTableSchema, Map<String, String>> getBfdStatusColumn();
42
43     @TypedColumn(name = "bfd_status", method = MethodType.SETDATA, fromVersion = "1.0.0", untilVersion = "1.2.0")
44     void setBfdStatus(Map<String, String> bfdStatus);
45
46     @TypedColumn(name = "tunnel_key", method = MethodType.GETCOLUMN, fromVersion = "1.5.0")
47     Column<GenericTableSchema, Set<Long>> getTunnelKeyColumn();
48
49     @TypedColumn(name = "tunnel_key", method = MethodType.SETDATA, fromVersion = "1.5.0")
50     void setTunnelKey(Set<Long> tunnelKey);
51 }