Update MRI projects for Aluminium
[ovsdb.git] / schemas / openvswitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / Capability.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 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  * Reusing the existing Table definitions and many of columns are not defined here
20  * TODO : Fill up the missing Columns and include Supported DB Version
21  */
22 @TypedTable(name = "Capability", database = "Open_vSwitch")
23 public interface Capability extends TypedBaseTable<GenericTableSchema> {
24     @TypedColumn(name = "details", method = MethodType.GETCOLUMN)
25     Column<GenericTableSchema, Map<String, String>> getDetailsColumn();
26
27     @TypedColumn(name = "details", method = MethodType.SETDATA)
28     void setDetails(Map<String, String> details);
29 }