void addPropertyIndex(NameData rawIndex) {
   addPropertyIndex(new PropertyIndex(rawIndex.getName(), rawIndex.getId()));
 }
 void addPropertyIndexes(NameData[] indexes) {
   for (NameData rawIndex : indexes) {
     addPropertyIndex(new PropertyIndex(rawIndex.getName(), rawIndex.getId()));
   }
 }