/**
* Initializes the map with the connection prototypes.
*/
private void setupConnectionPrototypeMap() {
UmlRelation notnavigable = new UmlRelation();
notnavigable.setCanSetElement1Navigability(false);
notnavigable.setCanSetElement2Navigability(false);
UmlRelation fullnavigable = new UmlRelation();
fullnavigable.setCanSetElement1Navigability(true);
fullnavigable.setCanSetElement2Navigability(true);
UmlRelation targetnavigable = new UmlRelation();
targetnavigable.setCanSetElement1Navigability(false);
targetnavigable.setCanSetElement2Navigability(true);
Dependency depPrototype = (Dependency) Dependency.getPrototype().clone();
depPrototype.setRelation((Relation) notnavigable.clone());
connectionPrototypes.put(RelationType.DEPENDENCY, depPrototype);
Association assocPrototype = (Association)
Association.getPrototype().clone();
assocPrototype.setRelation((Relation) fullnavigable.clone());
connectionPrototypes.put(RelationType.ASSOCIATION, assocPrototype);
Association compPrototype = (Association)
Association.getPrototype().clone();
compPrototype.setAssociationType(AssociationType.COMPOSITION);
compPrototype.setRelation((Relation) targetnavigable.clone());
connectionPrototypes.put(RelationType.COMPOSITION, compPrototype);
Association aggrPrototype = (Association)
Association.getPrototype().clone();
aggrPrototype.setAssociationType(AssociationType.AGGREGATION);
aggrPrototype.setRelation((Relation) targetnavigable.clone());
connectionPrototypes.put(RelationType.AGGREGATION, aggrPrototype);
Inheritance inheritPrototype = (Inheritance)
Inheritance.getPrototype().clone();
inheritPrototype.setRelation((Relation) notnavigable.clone());