svn commit: r13339 - trunk/src/model/src/org/argouml/model/Facade.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-08-14 11:02:09-0700
New Revision: 13339

Modified:
   trunk/src/model/src/org/argouml/model/Facade.java

Log:
Introduce getUmlVersion() method.

Modified: trunk/src/model/src/org/argouml/model/Facade.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/Facade.java?view=diff&rev=13339&p1=trunk/src/model/src/org/argouml/model/Facade.java&p2=trunk/src/model/src/org/argouml/model/Facade.java&r1=13338&r2=13339
==============================================================================
--- trunk/src/model/src/org/argouml/model/Facade.java	(original)
+++ trunk/src/model/src/org/argouml/model/Facade.java	2007-08-14 11:02:09-0700
@@ -76,6 +76,23 @@
     String DERIVED_TAG = "derived"; //$NON-NLS-1$
 
     ////////////////////////////////////////////////////////////////
+    
+    /**
+     * Return the version of the UML metamodel supported by the underlying
+     * implementation. The version string is made up of numerical components
+     * separated by the '.' character with the most significant digits on the
+     * left.
+     * <p>
+     * The MDR implementation supports UML 1.4 and the initial eUML
+     * implementation supports UML 2.1.1. The earlier NSUML implementation
+     * supported UML 1.3.
+     * 
+     * @return a period ('.') separated string of version numbers. e.g. "1.4" or
+     *         "2.1.1"
+     */
+    String getUmlVersion();
+    
+    ////////////////////////////////////////////////////////////////
     /**
      * Recognizer for Abstraction.
      *
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.