Author: tfmorris
Date: 2007-11-04 13:20:55-0700
New Revision: 13724
Modified:
trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java
trunk/src/model/src/org/argouml/model/ModelManagementHelper.java
Log:
remove uses of deprecated getCorrespondingElement()
Modified: trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java?view=diff&rev=13724&p1=trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java&p2=trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java&r1=13723&r2=13724
==============================================================================
--- trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java (original)
+++ trunk/src/model/src/org/argouml/model/ExtensionMechanismsHelper.java 2007-11-04 13:20:55-0700
@@ -90,14 +90,18 @@
Object modelElement);
/**
- * Returns true if the given stereotype has a baseclass that
- * equals the baseclass of the given modelelement or one of the
- * superclasses of the given modelelement.
- *
- * @param theModelElement is the model element
- * @param theStereotype is the stereotype
+ * Returns true if the given stereotype has a baseclass that equals the
+ * baseclass of the given modelelement or one of the superclasses of the
+ * given modelelement.
+ *
+ * @param theModelElement
+ * is the model element
+ * @param theStereotype
+ * is the stereotype
* @return boolean
- * @deprecated Use {@link #isValidStereotype(Object,Object)} instead
+ * @deprecated Deprecated for 0.25.4 by tfmorris. Use
+ * {@link #isValidStereotype(Object,Object)} instead (note
+ * different capitalization),
*/
boolean isValidStereoType(Object theModelElement, Object theStereotype);
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=13724&p1=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&p2=trunk/src/model/src/org/argouml/model/ModelManagementHelper.java&r1=13723&r2=13724
==============================================================================
--- trunk/src/model/src/org/argouml/model/ModelManagementHelper.java (original)
+++ trunk/src/model/src/org/argouml/model/ModelManagementHelper.java 2007-11-04 13:20:55-0700
@@ -185,7 +185,7 @@
/**
* Get local equivalent to a profile ModelElement. Equivalent to calling
- * {@link #getCorrespondingElement(Object, Object, boolean)} with a value of
+ * getCorrespondingElement(Object, Object, boolean) with a value of
* <code>true</code> for the third parameter.
* <p>
* This function may fail and return null eg if some required object doesn't
@@ -197,7 +197,6 @@
* is the model the returned object shall belong to.
* @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.
*/
@@ -220,6 +219,7 @@
* @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.
*/
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.