Esempio 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);
 }
Esempio n. 2
0
 public void property(String id, String name, String index) {
   assert myActualConcept != null;
   SPropertyId propertyId = myIdEncoder.parsePropertyId(myActualConcept.getConceptId(), id);
   myActualConcept.addProperty(propertyId, name);
   myProperties.put(index, MetaAdapterFactory.getProperty(propertyId, name));
   myMetaInfoProvider.setPropertyName(propertyId, name);
 }
Esempio n. 3
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);
 }