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

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-09-17 16:16:12-0700
New Revision: 13564

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

Log:
Add Artifact, Constraint, ElementImport, ExtensionPoint, TaggedValue

Modified: trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java?view=diff&rev=13564&p1=trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&p2=trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&r1=13563&r2=13564
==============================================================================
--- trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java	(original)
+++ trunk/src/model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java	2007-09-17 16:16:12-0700
@@ -33,6 +33,7 @@
 import org.eclipse.uml2.uml.ActivityPartition;
 import org.eclipse.uml2.uml.Actor;
 import org.eclipse.uml2.uml.AggregationKind;
+import org.eclipse.uml2.uml.Artifact;
 import org.eclipse.uml2.uml.Association;
 import org.eclipse.uml2.uml.AssociationClass;
 import org.eclipse.uml2.uml.BehavioralFeature;
@@ -42,12 +43,15 @@
 import org.eclipse.uml2.uml.Collaboration;
 import org.eclipse.uml2.uml.Comment;
 import org.eclipse.uml2.uml.Component;
+import org.eclipse.uml2.uml.Constraint;
 import org.eclipse.uml2.uml.DataType;
 import org.eclipse.uml2.uml.Dependency;
 import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.ElementImport;
 import org.eclipse.uml2.uml.Enumeration;
 import org.eclipse.uml2.uml.EnumerationLiteral;
 import org.eclipse.uml2.uml.Extend;
+import org.eclipse.uml2.uml.ExtensionPoint;
 import org.eclipse.uml2.uml.FinalState;
 import org.eclipse.uml2.uml.Generalization;
 import org.eclipse.uml2.uml.Include;
@@ -115,6 +119,10 @@
         // replaced in UML 2.0 by explicitly modeled Actions
         return State.class;
     }
+    
+//    public Object getActivityGraph() {
+//        return ActivityGraph.class;
+//    }
 
     public Object getActor() {
         return Actor.class;
@@ -123,6 +131,10 @@
     public Object getAggregationKind() {
         return AggregationKind.class;
     }
+    
+    public Object getArtifact() {
+        return Artifact.class;
+    }
 
     public Object getAssociation() {
         return Association.class;
@@ -211,6 +223,10 @@
         // TODO: no separate CompositeState in UML 2.1 - tfm
         return State.class;
     }
+    
+    public Object getConstraint() {
+        return Constraint.class;
+    }
 
     public Object getCreateAction() {
         // TODO Auto-generated method stub
@@ -229,6 +245,10 @@
         // TODO Auto-generated method stub
         throw new NotYetImplementedException();
     }
+    
+    public Object getElementImport() {
+        return ElementImport.class;
+    }
 
     public Object getEnumeration() {
         return Enumeration.class;
@@ -253,6 +273,10 @@
         return Extend.class;
     }
 
+    public Object getExtensionPoint() {
+        return ExtensionPoint.class;
+    }
+    
     public Object getFinalState() {
         return FinalState.class;
     }
@@ -477,10 +501,14 @@
     public Object getTagDefinition() {
         // TODO: In UML 2.x a TagDefinition has become a Property on a Stereotype
         // Anything that uses this will probably need to be reviewed/changed.
-        // Just return Propety for now.
+        // Just return Property for now.
         return Property.class;
     }
 
+    public Object getTaggedValue() {
+        throw new NotYetImplementedException();
+    }
+    
     public Object getTerminateAction() {
         // TODO Auto-generated method stub
         throw new NotYetImplementedException();
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.