use of org.opendaylight.controller.config.yangjmxgenerator.plugin.ftl.model.ModuleField in project controller by opendaylight.
the class AbsModuleGeneratedObjectFactory method getCachesOfResolvedIdentityRefs.
private static String getCachesOfResolvedIdentityRefs(List<ModuleField> moduleFields) {
StringBuilder result = new StringBuilder();
for (ModuleField moduleField : moduleFields) {
if (moduleField.isIdentityRef()) {
IdentityRefModuleField field = (IdentityRefModuleField) moduleField;
result.append(format("private %s %s;\n", field.getIdentityClassType(), field.getIdentityClassName()));
}
}
return result.toString();
}
Aggregations