Binding Java API Generator shouldn't generate getValue() method
for java.math BigDecimal & BigInteger types, representing
YANG decimal64 & uint64 types.
This is just a port from yangtools.
Change-Id: I8f50003296d1004f9799c96950f49b4a38732137
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
«ELSEIF "byte[]".equals(propRet.name)»
««« type binary
this.«other.fieldName» = new «String.importedName»(«property.fieldName»).toCharArray();
- «ELSEIF propRet.fullyQualifiedName.startsWith("java.lang") || propRet instanceof Enumeration»
- ««« type int*, uint or enumeration*
+ «ELSEIF propRet.fullyQualifiedName.startsWith("java.lang")
+ || propRet instanceof Enumeration
+ || propRet.fullyQualifiedName.startsWith("java.math")»
+ ««« type int*, uint, decimal64 or enumeration*
this.«other.fieldName» = «property.fieldName».toString().toCharArray();
«ELSEIF propRet instanceof GeneratedTransferObject && (propRet as GeneratedTransferObject).unionType»
««« union type