svn commit: r19439 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2011-05-16 04:08:08-0700
New Revision: 19439

Modified:
   trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java

Log:
UML1.4 Instance and UML2 InstanceSpecification are completely different things

Instance is a UML1.4 abstract class for several different concrete classes.
InstanceSpecification is an instance of a classifier that can appear in a structure diagram

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=19439&r1=19438&r2=19439
==============================================================================
--- 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-16 04:08:08-0700
@@ -361,8 +361,8 @@
     }
 
     public Object getInstance() {
-        // TODO: Check for changed semantics - tfm
-        return InstanceSpecification.class;
+        throw new NotImplementedException(
+            "Not a UML2 model element"); //$NON-NLS-1$
     }
 
     public Object getInteraction() {

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2738187

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.