Expose type-specific derived type builder methods 07/65307/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 8 Nov 2017 11:23:02 +0000 (12:23 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 9 Nov 2017 09:36:44 +0000 (10:36 +0100)
commit38d042dff19f8f68445fc2a0774a07dd650e5705
tree3755eec361f0a058c62e41067e6261826571f4e8
parent4567d6b975bcc8bb5729fd1cc1bff5d342f6a984
Expose type-specific derived type builder methods

Having a generic builder method is not sufficient for type-safe
users, who have knowledge of the base type, as they will lose
the specialization. Expose already-existing concrete factory methods.

Change-Id: I91195c65801ee2bbe5a93794e410c3914a7a1d24
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/type/DerivedTypes.java