use of mom.trd.opentheso.bdd.helper.nodes.NodeGroupIdLabel in project opentheso by miledrousset.
the class SelectedTerme method majGroup.
/**
* chargement des groupes d'un concept
* #MR
*/
private void majGroup() {
GroupHelper groupHelper = new GroupHelper();
String labelGroup;
boolean first = true;
ArrayList<String> idGroupList = groupHelper.getListIdGroupOfConcept(connect.getPoolConnexion(), idTheso, idC);
for (String idGroup : idGroupList) {
labelGroup = groupHelper.getLexicalValueOfGroup(connect.getPoolConnexion(), idGroup, idTheso, idlangue);
if (first) {
microTheso = labelGroup;
first = false;
} else
microTheso += ", " + labelGroup;
NodeGroupIdLabel nodeGroupIdLabeltmp = new NodeGroupIdLabel();
nodeGroupIdLabeltmp.setIdGroup(idGroup);
nodeGroupIdLabeltmp.setLabel(labelGroup);
nodeGroupIdLabel.add(nodeGroupIdLabeltmp);
}
}
Aggregations