Add fromVersion and untilVersion to Typed Annotations 29/8129/6
authorDave Tucker <djt@redhat.com>
Thu, 19 Jun 2014 03:03:30 +0000 (04:03 +0100)
committerDave Tucker <djt@redhat.com>
Thu, 19 Jun 2014 21:23:52 +0000 (22:23 +0100)
commita3ac4306ec066b0ab074489f31a96f7a943127f2
tree735b46e973e0bd3a0406c371a844fa847fbd0128
parent139bd40def3769c618d20f45cef174462c49a2ad
Add fromVersion and untilVersion to Typed Annotations

This allows a column or row to be validated against a specific version
of the schema. This gives better error messages to the user than a
simply asserting that a Table or Column does not exist

Change-Id: I3d5a76c7c33d49311cecd92c0e5f9714f7522b83
Signed-off-by: Dave Tucker <djt@redhat.com>
library/src/main/java/org/opendaylight/ovsdb/lib/notation/Version.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/typed/TypedColumn.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/typed/TypedTable.java
library/src/main/java/org/opendaylight/ovsdb/lib/schema/typed/TyperUtils.java