Bug 1334 - Change the Typed Classes in Open_vSwitch and hardware_vtep schema
[ovsdb.git] / schemas / Open_vSwitch / src / main / java / org / opendaylight / ovsdb / schema / openvswitch / Queue.java
1 /*
2  * Copyright (C) 2013 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.openvswitch;
11
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 import java.util.Map;
21 import java.util.Set;
22
23 /**
24  * This class is a typed interface to the Queue Table
25  */
26 @TypedTable (name="Queue", database="Open_vSwitch", fromVersion="1.0.0")
27 public interface Queue extends TypedBaseTable<GenericTableSchema> {
28
29     @TypedColumn (name="dscp", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
30     public Column<GenericTableSchema, Set<Long>> getDscpColumn() ;
31
32     @TypedColumn (name="dscp", method= MethodType.SETDATA, fromVersion="6.4.0")
33     public void setDscp(Set<Long> dscp) ;
34
35     @TypedColumn (name="other_config", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
36     public Column<GenericTableSchema, Map<String, String>> getOtherConfigColumn() ;
37
38     @TypedColumn (name="other_config", method= MethodType.SETDATA, fromVersion="1.0.0")
39     public void setOtherConfig(Map<String, String> otherConfig) ;
40
41     @TypedColumn (name="external_ids", method= MethodType.GETCOLUMN, fromVersion="1.0.0")
42     public Column<GenericTableSchema, Map<String, String>> getExternalIdsColumn() ;
43
44     @TypedColumn (name="external_ids", method= MethodType.SETDATA, fromVersion="1.0.0")
45     public void setExternalIds(Map<String, String> externalIds) ;
46 }