Change mapping of uint{8,16,32,64}
This changes the mapping of uint types to non-widening yang.common
classes and deals with them being used by yang.{data,model}.api:
YANG type Old Java type New Java Type
uint8 java.lang.Short org.opendaylight.yangtools.yang.common.Uint8
uint16 java.lang.Integer org.opendaylight.yangtools.yang.common.Uint16
uint32 java.lang.Long org.opendaylight.yangtools.yang.common.Uint32
uint64 java.math.BigInteger org.opendaylight.yangtools.yang.common.Uint64
This affects all getters, setters and value wrapper classes. For
setters, code generator emits a deprecated setter, which performs
the conversion internally.
JIRA: MDSAL-330
JIRA: YANGTOOLS-1018
Change-Id: Ic3913adc4a5d707b01671a982c58221cb028f6d9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
18 files changed: