Previously, it was wrongly identified as a generated type,
but InstanceIdentifier is a base type, so no getValue() there.
Change-Id: I18d67357753eda6e241a608fc5a2c933aa1f9eda
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
(cherry picked from commit
aaa5f227c44cb48a579004f2aa500c4fa8f41b0b)
«IF "java.lang.String".equals(propRet.fullyQualifiedName)»
««« type string
«field.fieldName» = «property.fieldName».toCharArray();
+ «ELSEIF "org.opendaylight.yangtools.yang.binding.InstanceIdentifier".equals(propRet.fullyQualifiedName)»
+ ««« type instance-identifier
+ «field.fieldName» = «property.fieldName».toString().toCharArray();
«ELSEIF "byte[]".equals(propRet.name)»
««« type binary
«field.fieldName» = new «String.importedName»(«property.fieldName»).toCharArray();