for (Map.Entry<String, Object> entry : properties.entrySet()) {
String propertyName = entry.getKey();
if (propertyName.startsWith(PROPERTIES_PREFIX)) {
ViewInstancePropertyEntity viewInstancePropertyEntity = new ViewInstancePropertyEntity();
viewInstancePropertyEntity.setViewName(viewName);
viewInstancePropertyEntity.setViewInstanceName(name);
viewInstancePropertyEntity.setName(entry.getKey().substring(PROPERTIES_PREFIX.length()));
viewInstancePropertyEntity.setValue((String) entry.getValue());
viewInstancePropertyEntity.setViewInstanceEntity(viewInstanceEntity);
instanceProperties.add(viewInstancePropertyEntity);
} else if (propertyName.startsWith(DATA_PREFIX)) {
ViewInstanceDataEntity viewInstanceDataEntity = new ViewInstanceDataEntity();