private RealmPropertyDTO[] getPropertyValueArray(Map<String, String> map) {
RealmPropertyDTO[] realmProps = new RealmPropertyDTO[map.size()];
int i = 0;
for (Iterator<Map.Entry<String, String>> ite = map.entrySet().iterator(); ite.hasNext();) {
Map.Entry<String, String> entry = ite.next();
realmProps[i] = new RealmPropertyDTO(entry.getKey(), entry.getValue());
i++;
}
return realmProps;
}