Set<Model> entityPrototypes = null;
// app ref data
final Iterator<RefDataType> adritr = auxDataRequest.getRefDataRequests();
while(adritr != null && adritr.hasNext()) {
final RefDataType rdt = adritr.next();
final Map<String, String> map = context.getRefData().getRefData(rdt);
if(map == null) {
payload.getStatus()
.addMsg("Unable to find app ref data: " + rdt.getName(), MsgLevel.ERROR, MsgAttr.STATUS.flag);
}
else {
if(appRefDataMap == null) {
appRefDataMap = new HashMap<RefDataType, Map<String, String>>();
}