}
for (TripletEntity tripletEntity : tripletEntities) {
tripletEntity.setId(simpleDAO.addObjects(tripletEntity));
}
article.setTriplets(tripletEntities);
simpleDAO.updateObject(article);
}
private TripletEntity createEntityFromTriplet(Triplet triplet, Map<String, SubjectsEntity> subjects) {
TripletEntity tripletEntity = new TripletEntity();
tripletEntity.setObject(triplet.getObject());