Update MRI projects for Aluminium
[ovsdb.git] / schemas / openvswitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / AutoAttach.java
1 /*
2  * Copyright (c) 2016 Inocybe Technologies 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 package org.opendaylight.ovsdb.schema.openvswitch;
9
10 import java.util.Map;
11 import org.opendaylight.ovsdb.lib.notation.Column;
12 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
13 import org.opendaylight.ovsdb.lib.schema.typed.MethodType;
14 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
15 import org.opendaylight.ovsdb.lib.schema.typed.TypedColumn;
16 import org.opendaylight.ovsdb.lib.schema.typed.TypedTable;
17
18 /**
19  * This class is a typed interface to the AutoAttach Table.
20  */
21 @TypedTable(name = "AutoAttach", database = "Open_vSwitch", fromVersion = "7.11.2")
22 public interface AutoAttach extends TypedBaseTable<GenericTableSchema> {
23
24     @TypedColumn(name = "system_name", method = MethodType.GETCOLUMN, fromVersion = "7.11.2")
25     Column<GenericTableSchema, String> getSystemNameColumn();
26
27     @TypedColumn(name = "system_name", method = MethodType.SETDATA, fromVersion = "7.11.2")
28     void setSystemName(String systemName);
29
30     @TypedColumn(name = "system_description", method = MethodType.GETCOLUMN, fromVersion = "7.11.2")
31     Column<GenericTableSchema, String> getSystemDescriptionColumn();
32
33     @TypedColumn(name = "system_description", method = MethodType.SETDATA, fromVersion = "7.11.2")
34     void setSystemDescription(String systemDescription);
35
36     @TypedColumn(name = "mappings", method = MethodType.GETCOLUMN, fromVersion = "7.11.2")
37     Column<GenericTableSchema, Map<Long, Long>> getMappingsColumn();
38
39     @TypedColumn(name = "mappings", method = MethodType.SETDATA, fromVersion = "7.11.2")
40     void setMappings(Map<Long, Long> mappings);
41
42     // FIXME: To be uncommented when Open vSwitch supports external_ids column
43 //    @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="7.11.2")
44 //    Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn();
45 //    @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="7.11.2")
46 //    void setExternalIds(Map<String, String> externalIds);
47
48 }