30d1cc62243398330f8e7755a7da9fbb81314817
[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
9 package org.opendaylight.ovsdb.schema.openvswitch;
10
11 import java.util.Map;
12
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 /*
21  * Reusing the existing Table definitions and many of columns are not defined here
22  * TODO : Fill up the missing Columns and include Supported DB Version
23  */
24 @TypedTable(name = "Capability", database = "Open_vSwitch")
25 public interface Capability extends TypedBaseTable<GenericTableSchema> {
26     @TypedColumn(name = "details", method = MethodType.GETCOLUMN)
27     Column<GenericTableSchema, Map<String, String>> getDetailsColumn();
28
29     @TypedColumn(name = "details", method = MethodType.SETDATA)
30     void setDetails(Map<String, String> details);
31 }