Fix incorrect OVSDB class names
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / LogicalSwitch.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
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 : Madhu Venugopal
9  */
10 package org.opendaylight.ovsdb.schema.hardwarevtep;
11
12 import java.util.Set;
13
14 import org.opendaylight.ovsdb.lib.notation.Column;
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 @TypedTable(name="Logical_Switch", database="hardware_vtep", fromVersion="1.0.0")
22 public interface LogicalSwitch extends TypedBaseTable<GenericTableSchema> {
23     @TypedColumn(name="name", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
24     public Column<GenericTableSchema, String> getNameColumn();
25
26     @TypedColumn(name="name", method=MethodType.GETDATA, fromVersion="1.0.0")
27     public String getName();
28
29     @TypedColumn(name="name", method=MethodType.SETDATA, fromVersion="1.0.0")
30     public void setName(String name);
31
32
33     @TypedColumn(name="description", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
34     public Column<GenericTableSchema, String> getDescriptionColumn();
35
36     @TypedColumn(name="description", method=MethodType.GETDATA, fromVersion="1.0.0")
37     public String getDescription();
38
39     @TypedColumn(name="description", method=MethodType.SETDATA, fromVersion="1.0.0")
40     public void setDescription(String description);
41
42
43     @TypedColumn(name="tunnel_key", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
44     public Column<GenericTableSchema, Set<Long>> getTunnelKeyColumn();
45
46     @TypedColumn(name="tunnel_key", method=MethodType.SETDATA, fromVersion="1.0.0")
47     public void setTunnelKey(Set<Long> tunnelKey);
48 }