Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java28
1 files changed, 10 insertions, 18 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java
index 24883e2847c..36d155537c0 100644
--- a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet.core/src/org/eclipse/papyrus/emf/facet/efacet/core/query/IDerivedTypedElementCollectionImplementation.java
@@ -27,9 +27,7 @@ import org.eclipse.papyrus.emf.facet.efacet.metamodel.v0_2_0.efacet.runtime.ETyp
* This interface can be implemented by EMF Facet derived typed element implementations that want to
* handle multiple evaluation themselves, presumably to improve the performance of the evaluation.
* <p>
- * If only {@link IDerivedTypedElementImplementation} is implemented, then the framework will
- * perform multiple-evaluation by calling the single evaluation multiple times, which may be slow in
- * the case of high-latency implementations.
+ * If only {@link IDerivedTypedElementImplementation} is implemented, then the framework will perform multiple-evaluation by calling the single evaluation multiple times, which may be slow in the case of high-latency implementations.
*
* @since 0.2
* @deprecated replaced by {@link IQueryCollectionImplementation}. https://bugs.eclipse.org/bugs/show_bug.cgi?id=377057.
@@ -41,10 +39,9 @@ public interface IDerivedTypedElementCollectionImplementation extends IDerivedTy
* This method must be implemented by each sub-class to evaluate the query of a derived typed element on a
* collection of elements. The query should be evaluated on each of the elements in the given collection.
* <p>
- * This method should throw a {@link DerivedTypedElementException} only if the {@link DerivedTypedElement} is
- * incorrect. But it must not throw an exception if the evaluation of one element fails. Instead, it must set the
- * exception on the corresponding result ({@link AbstractDerivedTypedElementResult#setException(Throwable)}).
- *
+ * This method should throw a {@link DerivedTypedElementException} only if the {@link DerivedTypedElement} is incorrect. But it must not throw an exception if the evaluation of one element fails. Instead, it must set the exception on the corresponding
+ * result ({@link AbstractDerivedTypedElementResult#setException(Throwable)}).
+ *
* @param derivedTypedElement
* The derived typed element for which to get the values
* @param sources
@@ -53,13 +50,9 @@ public interface IDerivedTypedElementCollectionImplementation extends IDerivedTy
* The parameter values for the derived typed element (in the case of a {@link FacetOperation}); can be <code>null</code>
* @return the result :
* <ul>
- * <li> a list of {@link DerivedTypedElementPrimitiveTypeResult} if the derived typed element is
- * single-valued and returns a primitive type <li> a list of
- * {@link DerivedTypedElementPrimitiveTypeListResult} if the derived typed element is multi-valued and
- * returns a primitive type <li> a list of {@link DerivedTypedElementEObjectResult} if the derived typed
- * element is single-valued and returns a model element <li> a list of
- * {@link DerivedTypedElementEObjectListResult} if the derived typed element is multi-valued and returns
- * model elements
+ * <li> a list of {@link DerivedTypedElementPrimitiveTypeResult} if the derived typed element is single-valued and returns a primitive type <li> a list of {@link DerivedTypedElementPrimitiveTypeListResult} if the derived typed element is
+ * multi-valued and returns a primitive type <li> a list of {@link DerivedTypedElementEObjectResult} if the derived typed element is single-valued and returns a model element <li> a list of {@link DerivedTypedElementEObjectListResult} if the
+ * derived typed element is multi-valued and returns model elements
* </ul>
* @throws DerivedTypedElementException
* if the given derivedTypedElement is incorrect
@@ -70,16 +63,15 @@ public interface IDerivedTypedElementCollectionImplementation extends IDerivedTy
/**
* This method must be implemented by each sub-class to set the values of a collection of elements. The derived
* typed element's query should be used to set the value of each of the elements in the given collection.
- *
+ *
* @param query
* The query to evaluate
* @param source
* The model elements on which the query is evaluated
* @param arguments
- * The parameter values for the derived typed element (in the case of a {@link FacetOperation}); can be
- * <code>null</code>
+ * The parameter values for the derived typed element (in the case of a {@link FacetOperation}); can be <code>null</code>
* @param newValues
- * the new values for the sources; the size of this list must match the size of the list of sources
+ * the new values for the sources; the size of this list must match the size of the list of sources
* @throws DerivedTypedElementException
* if the given derivedTypedElement is incorrect
* @throws DerivedTypedElementEvaluationException

Back to the top