}
}
private void restoreEntries(Persistor root) {
List<LdapStructureEntry> entries = Lists.newArrayList();
LdapStructureEntryPersistor loader = new LdapStructureEntryPersistor();
for (Persistor p : root.getChildren("LdapStructureEntry")) {
entries.add(loader.restoreFrom(p));
}
this.entries = entries.toArray(new LdapStructureEntry[entries.size()]);
}