use of nl.knaw.huygens.timbuctoo.model.vre.Vre in project timbuctoo by HuygensING.
the class PrepareForBiaImportMigration method addConceptsCollectionToAdminVre.
private void addConceptsCollectionToAdminVre(Graph graph) {
final Vre adminVre = mappings.getVre("Admin");
final LinkedHashMap<String, ReadableProperty> conceptProperties = Maps.newLinkedHashMap();
conceptProperties.put("label", localProperty("label"));
final Collection conceptsCollection = new Collection("concept", "concept", localProperty("label"), conceptProperties, "concepts", mappings.getVre("Admin"), "concepts", false, false, null);
adminVre.addCollection(conceptsCollection);
adminVre.save(graph);
}
Aggregations