Updating fix for bug 3989 based on discussion in OVSDB meeting
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / schema / typed / TypedColumn.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.lib.schema.typed;
10
11 import org.opendaylight.ovsdb.lib.notation.Version;
12
13 import java.lang.annotation.Retention;
14 import java.lang.annotation.RetentionPolicy;
15 import java.lang.annotation.Target;
16 import java.lang.annotation.ElementType;;
17
18 @Retention(RetentionPolicy.RUNTIME)
19 @Target(ElementType.METHOD)
20 public @interface TypedColumn {
21     String name();
22     MethodType method();
23     String fromVersion() default Version.NULL_VERSION_STRING;
24     String untilVersion() default Version.NULL_VERSION_STRING;
25 }