Author: bobtarling
Date: 2011-05-13 05:11:24-0700
New Revision: 19419
Modified:
trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Log:
AssociationRole maps to UML2 Connector and AssociationEndRole maps to ConnectorEnd
Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java?view=diff&pathrev=19419&r1=19418&r2=19419
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java (original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java 2011-05-13 05:11:24-0700
@@ -41,6 +41,8 @@
import org.eclipse.uml2.uml.Comment;
import org.eclipse.uml2.uml.Component;
import org.eclipse.uml2.uml.ComponentRealization;
+import org.eclipse.uml2.uml.Connector;
+import org.eclipse.uml2.uml.ConnectorEnd;
import org.eclipse.uml2.uml.Constraint;
import org.eclipse.uml2.uml.ControlFlow;
import org.eclipse.uml2.uml.CreateObjectAction;
@@ -179,17 +181,11 @@
}
public Object getAssociationEndRole() {
- // TODO: In UML 2.0, ClassifierRole, AssociationRole, and
- // AssociationEndRole have been replaced by the internal
- // structure of the Collaboration
- return Classifier.class;
+ return ConnectorEnd.class;
}
public Object getAssociationRole() {
- // TODO: In UML 2.0, ClassifierRole, AssociationRole, and
- // AssociationEndRole have been replaced by the internal
- // structure of the Collaboration
- return Classifier.class;
+ return Connector.class;
}
public Object getAttribute() {
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2735447
To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.