BUG-4268: clarify API contract of range constraints 83/29883/5
authorRobert Varga <robert.varga@pantheon.sk>
Wed, 18 Nov 2015 19:42:27 +0000 (20:42 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 30 Mar 2016 08:04:50 +0000 (08:04 +0000)
commit6c0f2114b51fcc532cebc1b79e23a22ad26465fe
tree6f5336f985386d5f240a899b7276d30cf7870e0d
parentd9256d914b82404b7941ec5069dc3d4d80e47e90
BUG-4268: clarify API contract of range constraints

The API definition is not clear whether the constraints show the
declared or effective view of range constraints.

Implementations have been returning the effective view, e.g. including
ranges from base types, which is the API intent. Clarify the API.

Change-Id: I6edecae04b9cba3b1452584b7cf7645dfcc5e57b
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/DecimalTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/IntegerTypeDefinition.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/type/UnsignedIntegerTypeDefinition.java