Exemplo n.º 1
0
 public void association(String id, String name, String index) {
   assert myActualConcept != null;
   SReferenceLinkId linkId = myIdEncoder.parseAssociation(myActualConcept.getConceptId(), id);
   myActualConcept.addLink(linkId, name);
   myAssociations.put(index, MetaAdapterFactory.getReferenceLink(linkId, name));
   myMetaInfoProvider.setAssociationName(linkId, name);
 }
Exemplo n.º 2
0
 public void aggregation(String id, String name, String index, boolean unordered) {
   assert myActualConcept != null;
   SContainmentLinkId linkId = myIdEncoder.parseAggregation(myActualConcept.getConceptId(), id);
   myActualConcept.addLink(linkId, name, unordered);
   myAggregations.put(index, MetaAdapterFactory.getContainmentLink(linkId, name));
   myMetaInfoProvider.setAggregationName(linkId, name);
   myMetaInfoProvider.setUnordered(linkId, unordered);
 }