viewInstancePropertyEntity.setValue((String) entry.getValue());
viewInstancePropertyEntity.setViewInstanceEntity(viewInstanceEntity);
instanceProperties.add(viewInstancePropertyEntity);
} else if (propertyName.startsWith(DATA_PREFIX)) {
ViewInstanceDataEntity viewInstanceDataEntity = new ViewInstanceDataEntity();
viewInstanceDataEntity.setViewName(viewName);
viewInstanceDataEntity.setViewInstanceName(name);
viewInstanceDataEntity.setName(entry.getKey().substring(DATA_PREFIX.length()));
viewInstanceDataEntity.setValue((String) entry.getValue());
viewInstanceDataEntity.setViewInstanceEntity(viewInstanceEntity);
instanceData.add(viewInstanceDataEntity);
}
}
viewInstanceEntity.setProperties(instanceProperties);