svn commit: r13674 - trunk/src/model/src/org/argouml/model/ModelManagementHelper.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-10-11 00:52:18-0700
New Revision: 13674

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

Log:
Don't need to deprecate getElement() since the change is backward compatible.

Modified: trunk/src/model/src/org/argouml/model/ModelManagementHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ModelManagementHelper.java?view=diff&rev=13674&p1=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&p2=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&r1=13673&r2=13674
==============================================================================
--- trunk/src/model/src/org/argouml/model/ModelManagementHelper.java	(original)
+++ trunk/src/model/src/org/argouml/model/ModelManagementHelper.java	2007-10-11 00:52:18-0700
@@ -36,9 +36,18 @@
  */
 public interface ModelManagementHelper {
     
-    public String FRIEND_STEREOTYPE = "friend";
-    public String IMPORT_STEREOTYPE = "import";
-    public String ACCESS_STEREOTYPE = "access";
+    /**
+     * Name of stereotype applied to Permission which is a friend.
+     */
+    String FRIEND_STEREOTYPE = "friend";
+    /**
+     * Name of stereotype applied to a Permission which is for import.
+     */
+    String IMPORT_STEREOTYPE = "import";
+    /**
+     * Name of stereotype applied to Permission which is an package access.
+     */
+    String ACCESS_STEREOTYPE = "access";
     
     /**
      * Returns all subsystems found in this namespace and in its children.
@@ -115,19 +124,6 @@
 
     /**
      * Get the modelelement a given path below a given root-namespace.
-     * 
-     * @param path
-     *                the given path
-     * @param theRootNamespace
-     *                the given namespace to start from
-     * @return the modelelement looked for, or null if not found
-     * @deprecated for 0.25.4 by tfmorris. Use {@link #getElement(List, Object)}.
-     */
-    @Deprecated
-    Object getElement(Vector<String> path, Object theRootNamespace);
-
-    /**
-     * Get the modelelement a given path below a given root-namespace.
      *
      * @param path the given path
      * @param theRootNamespace the given namespace to start from
@@ -202,8 +198,8 @@
      * @return An element of the same type and at the same position in the model
      *         as elem, or if that would turn out impossible then null.
      * @see {@link #getCorrespondingElement(Object, Object, boolean)}
-     * @deprecated for 0.25.4 by tfmorris.  Unnecessary because Model implementation
-     * maintains cross XMI file references now.
+     * @deprecated for 0.25.4 by tfmorris.  Unnecessary because Model 
+     * implementation maintains cross XMI file references now.
      */
     @Deprecated
     Object getCorrespondingElement(Object elem, Object model);
@@ -224,8 +220,8 @@
      * @param canCreate determines if objects can be copied into model.
      * @return An element of the same type and at the same position in the
      *  model as elem, or if that would turn out impossible then null.
-     * @deprecated for 0.25.4 by tfmorris.  Unnecessary because Model implementation
-     * maintains cross XMI file references now.
+     * @deprecated for 0.25.4 by tfmorris.  Unnecessary because Model 
+     * implementation maintains cross XMI file references now.
      */
     @Deprecated
     Object getCorrespondingElement(Object elem, Object model,
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.