Fix license header violations in schemas
[ovsdb.git] / schemas / hardwarevtep / src / main / java / org / opendaylight / ovsdb / schema / hardwarevtep / Global.java
1 /*
2  * Copyright (c) 2014, 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.hardwarevtep;
10
11 import java.util.Set;
12
13 import org.opendaylight.ovsdb.lib.notation.Column;
14 import org.opendaylight.ovsdb.lib.notation.UUID;
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="Global", database="hardware_vtep", fromVersion="1.0.0")
22 public interface Global extends TypedBaseTable<GenericTableSchema> {
23
24     @TypedColumn(name="managers", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
25     Column<GenericTableSchema, Set<UUID>> getManagersColumn();
26
27     @TypedColumn(name="managers", method=MethodType.SETDATA, fromVersion="1.0.0")
28     void setManagers(Set<UUID> managers);
29
30     @TypedColumn(name="switches", method=MethodType.GETCOLUMN, fromVersion="1.0.0")
31     Column<GenericTableSchema, Set<UUID>> getSwitchesColumn();
32
33     @TypedColumn(name="switches", method=MethodType.SETDATA, fromVersion="1.0.0")
34     void setSwitches(Set<UUID> switches);
35 }