summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Parker2012-12-20 19:28:28 (EST)
committerMiles Parker2013-01-15 19:33:46 (EST)
commit284f9a3cc3ac7b18e80dfde9754480a46e238d5c (patch)
tree39cdff99ed29e9488a98b59bd63cd20f2659db18
parent0fff5d733bf22d42c47960cb906ab709dadfbfc7 (diff)
downloadorg.eclipse.mylyn.reviews.r4e-284f9a3cc3ac7b18e80dfde9754480a46e238d5c.zip
org.eclipse.mylyn.reviews.r4e-284f9a3cc3ac7b18e80dfde9754480a46e238d5c.tar.gz
org.eclipse.mylyn.reviews.r4e-284f9a3cc3ac7b18e80dfde9754480a46e238d5c.tar.bz2
394925: align R4E model with common navigator model changes in refs/changes/45/9345/2
•Regenerate code to align with changes in model Note: Will not build until https://git.eclipse.org/r/#/c/9175/ is committed Change-Id: I9f572b9b4d9614757a47a1020c6d3470e4acb4ab Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=390377
-rw-r--r--org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/RModelPackage.java248
-rw-r--r--org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/R4EItemImpl.java101
-rw-r--r--org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/RModelFactoryImpl.java1
-rw-r--r--org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelAdapterFactory.java58
-rw-r--r--org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelSwitch.java60
5 files changed, 405 insertions, 63 deletions
diff --git a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/RModelPackage.java b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/RModelPackage.java
index 4fbb449..705f5a4 100644
--- a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/RModelPackage.java
+++ b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/RModelPackage.java
@@ -238,6 +238,15 @@ public interface RModelPackage extends EPackage {
int R4E_REVIEW__ENABLED = ReviewsPackage.REVIEW__ENABLED;
/**
+ * The feature id for the '<em><b>All Comments</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_REVIEW__ALL_COMMENTS = ReviewsPackage.REVIEW__ALL_COMMENTS;
+
+ /**
* The feature id for the '<em><b>Topics</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -246,6 +255,33 @@ public interface RModelPackage extends EPackage {
int R4E_REVIEW__TOPICS = ReviewsPackage.REVIEW__TOPICS;
/**
+ * The feature id for the '<em><b>Direct Topics</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_REVIEW__DIRECT_TOPICS = ReviewsPackage.REVIEW__DIRECT_TOPICS;
+
+ /**
+ * The feature id for the '<em><b>Creation Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_REVIEW__CREATION_DATE = ReviewsPackage.REVIEW__CREATION_DATE;
+
+ /**
+ * The feature id for the '<em><b>Modification Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_REVIEW__MODIFICATION_DATE = ReviewsPackage.REVIEW__MODIFICATION_DATE;
+
+ /**
* The feature id for the '<em><b>Items</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -280,6 +316,15 @@ public interface RModelPackage extends EPackage {
int R4E_REVIEW__ID = ReviewsPackage.REVIEW__ID;
/**
+ * The feature id for the '<em><b>Owner</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_REVIEW__OWNER = ReviewsPackage.REVIEW__OWNER;
+
+ /**
* The feature id for the '<em><b>Assigned To</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -473,6 +518,32 @@ public interface RModelPackage extends EPackage {
int R4E_ANOMALY__ENABLED = ReviewsPackage.TOPIC__ENABLED;
/**
+ * The feature id for the '<em><b>Index</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ANOMALY__INDEX = ReviewsPackage.TOPIC__INDEX;
+
+ /**
+ * The feature id for the '<em><b>Creation Date</b></em>' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ANOMALY__CREATION_DATE = ReviewsPackage.TOPIC__CREATION_DATE;
+
+ /**
+ * The feature id for the '<em><b>Modification Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ANOMALY__MODIFICATION_DATE = ReviewsPackage.TOPIC__MODIFICATION_DATE;
+
+ /**
* The feature id for the '<em><b>Author</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -498,14 +569,6 @@ public interface RModelPackage extends EPackage {
int R4E_ANOMALY__DESCRIPTION = ReviewsPackage.TOPIC__DESCRIPTION;
/**
- * The feature id for the '<em><b>Creation Date</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int R4E_ANOMALY__CREATION_DATE = ReviewsPackage.TOPIC__CREATION_DATE;
-
- /**
* The feature id for the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -531,6 +594,15 @@ public interface RModelPackage extends EPackage {
int R4E_ANOMALY__DRAFT = ReviewsPackage.TOPIC__DRAFT;
/**
+ * The feature id for the '<em><b>Parent Topic</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ANOMALY__PARENT_TOPIC = ReviewsPackage.TOPIC__PARENT_TOPIC;
+
+ /**
* The feature id for the '<em><b>Task</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -739,6 +811,15 @@ public interface RModelPackage extends EPackage {
int R4E_FORMAL_REVIEW__ENABLED = R4E_REVIEW__ENABLED;
/**
+ * The feature id for the '<em><b>All Comments</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_FORMAL_REVIEW__ALL_COMMENTS = R4E_REVIEW__ALL_COMMENTS;
+
+ /**
* The feature id for the '<em><b>Topics</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -747,6 +828,33 @@ public interface RModelPackage extends EPackage {
int R4E_FORMAL_REVIEW__TOPICS = R4E_REVIEW__TOPICS;
/**
+ * The feature id for the '<em><b>Direct Topics</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_FORMAL_REVIEW__DIRECT_TOPICS = R4E_REVIEW__DIRECT_TOPICS;
+
+ /**
+ * The feature id for the '<em><b>Creation Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_FORMAL_REVIEW__CREATION_DATE = R4E_REVIEW__CREATION_DATE;
+
+ /**
+ * The feature id for the '<em><b>Modification Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_FORMAL_REVIEW__MODIFICATION_DATE = R4E_REVIEW__MODIFICATION_DATE;
+
+ /**
* The feature id for the '<em><b>Items</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -781,6 +889,15 @@ public interface RModelPackage extends EPackage {
int R4E_FORMAL_REVIEW__ID = R4E_REVIEW__ID;
/**
+ * The feature id for the '<em><b>Owner</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_FORMAL_REVIEW__OWNER = R4E_REVIEW__OWNER;
+
+ /**
* The feature id for the '<em><b>Assigned To</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
@@ -1501,36 +1618,54 @@ public interface RModelPackage extends EPackage {
int R4E_ITEM__R4E_ID = R4EID_COMPONENT__R4E_ID;
/**
- * The feature id for the '<em><b>Added By</b></em>' reference.
+ * The feature id for the '<em><b>All Comments</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ITEM__ALL_COMMENTS = R4EID_COMPONENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Topics</b></em>' reference list.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- int R4E_ITEM__ADDED_BY = R4EID_COMPONENT_FEATURE_COUNT + 0;
+ int R4E_ITEM__TOPICS = R4EID_COMPONENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Review</b></em>' reference.
+ * The feature id for the '<em><b>Direct Topics</b></em>' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_ITEM__DIRECT_TOPICS = R4EID_COMPONENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Added By</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- int R4E_ITEM__REVIEW = R4EID_COMPONENT_FEATURE_COUNT + 1;
+ int R4E_ITEM__ADDED_BY = R4EID_COMPONENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Review</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- int R4E_ITEM__NAME = R4EID_COMPONENT_FEATURE_COUNT + 2;
+ int R4E_ITEM__REVIEW = R4EID_COMPONENT_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>Topics</b></em>' reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
* @ordered
*/
- int R4E_ITEM__TOPICS = R4EID_COMPONENT_FEATURE_COUNT + 3;
+ int R4E_ITEM__NAME = R4EID_COMPONENT_FEATURE_COUNT + 5;
/**
* The feature id for the '<em><b>Id</b></em>' attribute.
@@ -1538,7 +1673,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__ID = R4EID_COMPONENT_FEATURE_COUNT + 4;
+ int R4E_ITEM__ID = R4EID_COMPONENT_FEATURE_COUNT + 6;
/**
* The feature id for the '<em><b>Description</b></em>' attribute.
@@ -1546,7 +1681,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__DESCRIPTION = R4EID_COMPONENT_FEATURE_COUNT + 5;
+ int R4E_ITEM__DESCRIPTION = R4EID_COMPONENT_FEATURE_COUNT + 7;
/**
* The feature id for the '<em><b>Added By Id</b></em>' attribute.
@@ -1554,7 +1689,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__ADDED_BY_ID = R4EID_COMPONENT_FEATURE_COUNT + 6;
+ int R4E_ITEM__ADDED_BY_ID = R4EID_COMPONENT_FEATURE_COUNT + 8;
/**
* The feature id for the '<em><b>File Context List</b></em>' containment reference list.
@@ -1563,7 +1698,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__FILE_CONTEXT_LIST = R4EID_COMPONENT_FEATURE_COUNT + 7;
+ int R4E_ITEM__FILE_CONTEXT_LIST = R4EID_COMPONENT_FEATURE_COUNT + 9;
/**
* The feature id for the '<em><b>Repository Ref</b></em>' attribute.
@@ -1571,7 +1706,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__REPOSITORY_REF = R4EID_COMPONENT_FEATURE_COUNT + 8;
+ int R4E_ITEM__REPOSITORY_REF = R4EID_COMPONENT_FEATURE_COUNT + 10;
/**
* The feature id for the '<em><b>Project UR Is</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc
@@ -1580,7 +1715,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__PROJECT_UR_IS = R4EID_COMPONENT_FEATURE_COUNT + 9;
+ int R4E_ITEM__PROJECT_UR_IS = R4EID_COMPONENT_FEATURE_COUNT + 11;
/**
* The feature id for the '<em><b>Author Rep</b></em>' attribute.
@@ -1588,7 +1723,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__AUTHOR_REP = R4EID_COMPONENT_FEATURE_COUNT + 10;
+ int R4E_ITEM__AUTHOR_REP = R4EID_COMPONENT_FEATURE_COUNT + 12;
/**
* The feature id for the '<em><b>Submitted</b></em>' attribute.
@@ -1596,7 +1731,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__SUBMITTED = R4EID_COMPONENT_FEATURE_COUNT + 11;
+ int R4E_ITEM__SUBMITTED = R4EID_COMPONENT_FEATURE_COUNT + 13;
/**
* The feature id for the '<em><b>Info Att</b></em>' map.
@@ -1604,7 +1739,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM__INFO_ATT = R4EID_COMPONENT_FEATURE_COUNT + 12;
+ int R4E_ITEM__INFO_ATT = R4EID_COMPONENT_FEATURE_COUNT + 14;
/**
* The number of structural features of the '<em>R4E Item</em>' class.
@@ -1612,7 +1747,7 @@ public interface RModelPackage extends EPackage {
* @generated
* @ordered
*/
- int R4E_ITEM_FEATURE_COUNT = R4EID_COMPONENT_FEATURE_COUNT + 13;
+ int R4E_ITEM_FEATURE_COUNT = R4EID_COMPONENT_FEATURE_COUNT + 15;
/**
* The meta object id for the '{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EContentImpl <em>R4E Content</em>}' class.
@@ -1624,6 +1759,15 @@ public interface RModelPackage extends EPackage {
int R4E_CONTENT = 20;
/**
+ * The feature id for the '<em><b>Index</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_CONTENT__INDEX = ReviewsPackage.LOCATION__INDEX;
+
+ /**
* The feature id for the '<em><b>Location</b></em>' containment reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -1659,6 +1803,15 @@ public interface RModelPackage extends EPackage {
int R4E_TEXT_CONTENT = 9;
/**
+ * The feature id for the '<em><b>Index</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_TEXT_CONTENT__INDEX = R4E_CONTENT__INDEX;
+
+ /**
* The feature id for the '<em><b>Location</b></em>' containment reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -1854,6 +2007,32 @@ public interface RModelPackage extends EPackage {
int R4E_COMMENT__ENABLED = ReviewsPackage.COMMENT__ENABLED;
/**
+ * The feature id for the '<em><b>Index</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_COMMENT__INDEX = ReviewsPackage.COMMENT__INDEX;
+
+ /**
+ * The feature id for the '<em><b>Creation Date</b></em>' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_COMMENT__CREATION_DATE = ReviewsPackage.COMMENT__CREATION_DATE;
+
+ /**
+ * The feature id for the '<em><b>Modification Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_COMMENT__MODIFICATION_DATE = ReviewsPackage.COMMENT__MODIFICATION_DATE;
+
+ /**
* The feature id for the '<em><b>Author</b></em>' reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -1879,14 +2058,6 @@ public interface RModelPackage extends EPackage {
int R4E_COMMENT__DESCRIPTION = ReviewsPackage.COMMENT__DESCRIPTION;
/**
- * The feature id for the '<em><b>Creation Date</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int R4E_COMMENT__CREATION_DATE = ReviewsPackage.COMMENT__CREATION_DATE;
-
- /**
* The feature id for the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -1912,6 +2083,15 @@ public interface RModelPackage extends EPackage {
int R4E_COMMENT__DRAFT = ReviewsPackage.COMMENT__DRAFT;
/**
+ * The feature id for the '<em><b>Parent Topic</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int R4E_COMMENT__PARENT_TOPIC = ReviewsPackage.COMMENT__PARENT_TOPIC;
+
+ /**
* The feature id for the '<em><b>Assigned To</b></em>' attribute list. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
diff --git a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/R4EItemImpl.java b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/R4EItemImpl.java
index 69bd84f..530cedb 100644
--- a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/R4EItemImpl.java
+++ b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/R4EItemImpl.java
@@ -29,6 +29,7 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
import org.eclipse.emf.ecore.util.EcoreEMap;
import org.eclipse.emf.ecore.util.InternalEList;
@@ -37,6 +38,7 @@ import org.eclipse.mylyn.reviews.core.model.ILocation;
import org.eclipse.mylyn.reviews.core.model.IReview;
import org.eclipse.mylyn.reviews.core.model.IReviewItem;
import org.eclipse.mylyn.reviews.core.model.ITopic;
+import org.eclipse.mylyn.reviews.core.model.ITopicContainer;
import org.eclipse.mylyn.reviews.core.model.IUser;
import org.eclipse.mylyn.reviews.internal.core.model.ReviewsPackage;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EFileContext;
@@ -48,10 +50,12 @@ import org.eclipse.mylyn.reviews.r4e.core.model.RModelPackage;
* <p>
* The following features are implemented:
* <ul>
+ * <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getAllComments <em>All Comments</em>}</li>
+ * <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getTopics <em>Topics</em>}</li>
+ * <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getDirectTopics <em>Direct Topics</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getAddedBy <em>Added By</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getReview <em>Review</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getTopics <em>Topics</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getId <em>Id</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.r4e.core.model.impl.R4EItemImpl#getAddedById <em>Added By Id</em>}</li>
@@ -68,6 +72,26 @@ import org.eclipse.mylyn.reviews.r4e.core.model.RModelPackage;
*/
public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
/**
+ * The cached value of the '{@link #getTopics() <em>Topics</em>}' reference list.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @see #getTopics()
+ * @generated
+ * @ordered
+ */
+ protected EList<ITopic> topics;
+
+ /**
+ * The cached value of the '{@link #getDirectTopics() <em>Direct Topics</em>}' reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirectTopics()
+ * @generated
+ * @ordered
+ */
+ protected EList<ITopic> directTopics;
+
+ /**
* The cached value of the '{@link #getAddedBy() <em>Added By</em>}' reference.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
@@ -108,16 +132,6 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
protected String name = NAME_EDEFAULT;
/**
- * The cached value of the '{@link #getTopics() <em>Topics</em>}' reference list.
- * <!-- begin-user-doc --> <!--
- * end-user-doc -->
- * @see #getTopics()
- * @generated
- * @ordered
- */
- protected EList<ITopic> topics;
-
- /**
* The default value of the '{@link #getId() <em>Id</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see #getId()
@@ -376,7 +390,7 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
*/
public List<ITopic> getTopics() {
if (topics == null) {
- topics = new EObjectWithInverseResolvingEList<ITopic>(ITopic.class, this, RModelPackage.R4E_ITEM__TOPICS, ReviewsPackage.TOPIC__ITEM);
+ topics = new EObjectResolvingEList<ITopic>(ITopic.class, this, RModelPackage.R4E_ITEM__TOPICS);
}
return topics;
}
@@ -546,8 +560,8 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case RModelPackage.R4E_ITEM__TOPICS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getTopics()).basicAdd(otherEnd, msgs);
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getDirectTopics()).basicAdd(otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
@@ -559,8 +573,8 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
switch (featureID) {
- case RModelPackage.R4E_ITEM__TOPICS:
- return ((InternalEList<?>)getTopics()).basicRemove(otherEnd, msgs);
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ return ((InternalEList<?>)getDirectTopics()).basicRemove(otherEnd, msgs);
case RModelPackage.R4E_ITEM__FILE_CONTEXT_LIST:
return ((InternalEList<?>)getFileContextList()).basicRemove(otherEnd, msgs);
case RModelPackage.R4E_ITEM__INFO_ATT:
@@ -576,6 +590,12 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
+ case RModelPackage.R4E_ITEM__ALL_COMMENTS:
+ return getAllComments();
+ case RModelPackage.R4E_ITEM__TOPICS:
+ return getTopics();
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ return getDirectTopics();
case RModelPackage.R4E_ITEM__ADDED_BY:
if (resolve) return getAddedBy();
return basicGetAddedBy();
@@ -584,8 +604,6 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
return basicGetReview();
case RModelPackage.R4E_ITEM__NAME:
return getName();
- case RModelPackage.R4E_ITEM__TOPICS:
- return getTopics();
case RModelPackage.R4E_ITEM__ID:
return getId();
case RModelPackage.R4E_ITEM__DESCRIPTION:
@@ -617,6 +635,14 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case RModelPackage.R4E_ITEM__TOPICS:
+ getTopics().clear();
+ getTopics().addAll((Collection<? extends ITopic>)newValue);
+ return;
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ getDirectTopics().clear();
+ getDirectTopics().addAll((Collection<? extends ITopic>)newValue);
+ return;
case RModelPackage.R4E_ITEM__ADDED_BY:
setAddedBy((IUser)newValue);
return;
@@ -626,10 +652,6 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
case RModelPackage.R4E_ITEM__NAME:
setName((String)newValue);
return;
- case RModelPackage.R4E_ITEM__TOPICS:
- getTopics().clear();
- getTopics().addAll((Collection<? extends ITopic>)newValue);
- return;
case RModelPackage.R4E_ITEM__ID:
setId((String)newValue);
return;
@@ -670,6 +692,12 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case RModelPackage.R4E_ITEM__TOPICS:
+ getTopics().clear();
+ return;
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ getDirectTopics().clear();
+ return;
case RModelPackage.R4E_ITEM__ADDED_BY:
setAddedBy((IUser)null);
return;
@@ -679,9 +707,6 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
case RModelPackage.R4E_ITEM__NAME:
setName(NAME_EDEFAULT);
return;
- case RModelPackage.R4E_ITEM__TOPICS:
- getTopics().clear();
- return;
case RModelPackage.R4E_ITEM__ID:
setId(ID_EDEFAULT);
return;
@@ -720,14 +745,18 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case RModelPackage.R4E_ITEM__ALL_COMMENTS:
+ return !getAllComments().isEmpty();
+ case RModelPackage.R4E_ITEM__TOPICS:
+ return topics != null && !topics.isEmpty();
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS:
+ return directTopics != null && !directTopics.isEmpty();
case RModelPackage.R4E_ITEM__ADDED_BY:
return addedBy != null;
case RModelPackage.R4E_ITEM__REVIEW:
return review != null;
case RModelPackage.R4E_ITEM__NAME:
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case RModelPackage.R4E_ITEM__TOPICS:
- return topics != null && !topics.isEmpty();
case RModelPackage.R4E_ITEM__ID:
return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
case RModelPackage.R4E_ITEM__DESCRIPTION:
@@ -756,12 +785,19 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
*/
@Override
public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == ITopicContainer.class) {
+ switch (derivedFeatureID) {
+ case RModelPackage.R4E_ITEM__ALL_COMMENTS: return ReviewsPackage.TOPIC_CONTAINER__ALL_COMMENTS;
+ case RModelPackage.R4E_ITEM__TOPICS: return ReviewsPackage.TOPIC_CONTAINER__TOPICS;
+ case RModelPackage.R4E_ITEM__DIRECT_TOPICS: return ReviewsPackage.TOPIC_CONTAINER__DIRECT_TOPICS;
+ default: return -1;
+ }
+ }
if (baseClass == IReviewItem.class) {
switch (derivedFeatureID) {
case RModelPackage.R4E_ITEM__ADDED_BY: return ReviewsPackage.REVIEW_ITEM__ADDED_BY;
case RModelPackage.R4E_ITEM__REVIEW: return ReviewsPackage.REVIEW_ITEM__REVIEW;
case RModelPackage.R4E_ITEM__NAME: return ReviewsPackage.REVIEW_ITEM__NAME;
- case RModelPackage.R4E_ITEM__TOPICS: return ReviewsPackage.REVIEW_ITEM__TOPICS;
case RModelPackage.R4E_ITEM__ID: return ReviewsPackage.REVIEW_ITEM__ID;
default: return -1;
}
@@ -775,12 +811,19 @@ public class R4EItemImpl extends R4EIDComponentImpl implements R4EItem {
*/
@Override
public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == ITopicContainer.class) {
+ switch (baseFeatureID) {
+ case ReviewsPackage.TOPIC_CONTAINER__ALL_COMMENTS: return RModelPackage.R4E_ITEM__ALL_COMMENTS;
+ case ReviewsPackage.TOPIC_CONTAINER__TOPICS: return RModelPackage.R4E_ITEM__TOPICS;
+ case ReviewsPackage.TOPIC_CONTAINER__DIRECT_TOPICS: return RModelPackage.R4E_ITEM__DIRECT_TOPICS;
+ default: return -1;
+ }
+ }
if (baseClass == IReviewItem.class) {
switch (baseFeatureID) {
case ReviewsPackage.REVIEW_ITEM__ADDED_BY: return RModelPackage.R4E_ITEM__ADDED_BY;
case ReviewsPackage.REVIEW_ITEM__REVIEW: return RModelPackage.R4E_ITEM__REVIEW;
case ReviewsPackage.REVIEW_ITEM__NAME: return RModelPackage.R4E_ITEM__NAME;
- case ReviewsPackage.REVIEW_ITEM__TOPICS: return RModelPackage.R4E_ITEM__TOPICS;
case ReviewsPackage.REVIEW_ITEM__ID: return RModelPackage.R4E_ITEM__ID;
default: return -1;
}
diff --git a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/RModelFactoryImpl.java b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/RModelFactoryImpl.java
index a9b357a..9656576 100644
--- a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/RModelFactoryImpl.java
+++ b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/impl/RModelFactoryImpl.java
@@ -26,6 +26,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.impl.EFactoryImpl;
import org.eclipse.emf.ecore.plugin.EcorePlugin;
+import org.eclipse.mylyn.reviews.r4e.core.model.*;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomaly;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomalyState;
diff --git a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelAdapterFactory.java b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelAdapterFactory.java
index 215a5ce..f760b45 100644
--- a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelAdapterFactory.java
+++ b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelAdapterFactory.java
@@ -23,6 +23,8 @@ import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.mylyn.reviews.core.model.IComment;
import org.eclipse.mylyn.reviews.core.model.ICommentType;
+import org.eclipse.mylyn.reviews.core.model.IDated;
+import org.eclipse.mylyn.reviews.core.model.IIndexed;
import org.eclipse.mylyn.reviews.core.model.ILocation;
import org.eclipse.mylyn.reviews.core.model.IModelVersioning;
import org.eclipse.mylyn.reviews.core.model.IReview;
@@ -32,7 +34,9 @@ import org.eclipse.mylyn.reviews.core.model.IReviewItem;
import org.eclipse.mylyn.reviews.core.model.IReviewState;
import org.eclipse.mylyn.reviews.core.model.ITaskReference;
import org.eclipse.mylyn.reviews.core.model.ITopic;
+import org.eclipse.mylyn.reviews.core.model.ITopicContainer;
import org.eclipse.mylyn.reviews.core.model.IUser;
+import org.eclipse.mylyn.reviews.r4e.core.model.*;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomaly;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomalyTextPosition;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomalyType;
@@ -261,10 +265,22 @@ public class RModelAdapterFactory extends AdapterFactoryImpl {
return createModelVersioningAdapter();
}
@Override
+ public Adapter caseTopicContainer(ITopicContainer object) {
+ return createTopicContainerAdapter();
+ }
+ @Override
+ public Adapter caseDated(IDated object) {
+ return createDatedAdapter();
+ }
+ @Override
public Adapter caseReview(IReview object) {
return createReviewAdapter();
}
@Override
+ public Adapter caseIndexed(IIndexed object) {
+ return createIndexedAdapter();
+ }
+ @Override
public Adapter caseComment(IComment object) {
return createCommentAdapter();
}
@@ -803,6 +819,34 @@ public class RModelAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.mylyn.reviews.core.model.ITopicContainer <em>Topic Container</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.mylyn.reviews.core.model.ITopicContainer
+ * @generated
+ */
+ public Adapter createTopicContainerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.mylyn.reviews.core.model.IDated <em>Dated</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.mylyn.reviews.core.model.IDated
+ * @generated
+ */
+ public Adapter createDatedAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.mylyn.reviews.core.model.IReview <em>Review</em>}'.
* <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
* cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
@@ -815,6 +859,20 @@ public class RModelAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.mylyn.reviews.core.model.IIndexed <em>Indexed</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.mylyn.reviews.core.model.IIndexed
+ * @generated
+ */
+ public Adapter createIndexedAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.mylyn.reviews.core.model.IComment <em>Comment</em>}'.
* <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore
* cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
diff --git a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelSwitch.java b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelSwitch.java
index 189c6f1..9cb32dc 100644
--- a/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelSwitch.java
+++ b/org.eclipse.mylyn.reviews.r4e.core/src/org/eclipse/mylyn/reviews/r4e/core/model/util/RModelSwitch.java
@@ -22,6 +22,8 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.mylyn.reviews.core.model.IComment;
import org.eclipse.mylyn.reviews.core.model.ICommentType;
+import org.eclipse.mylyn.reviews.core.model.IDated;
+import org.eclipse.mylyn.reviews.core.model.IIndexed;
import org.eclipse.mylyn.reviews.core.model.ILocation;
import org.eclipse.mylyn.reviews.core.model.IModelVersioning;
import org.eclipse.mylyn.reviews.core.model.IReview;
@@ -31,7 +33,9 @@ import org.eclipse.mylyn.reviews.core.model.IReviewItem;
import org.eclipse.mylyn.reviews.core.model.IReviewState;
import org.eclipse.mylyn.reviews.core.model.ITaskReference;
import org.eclipse.mylyn.reviews.core.model.ITopic;
+import org.eclipse.mylyn.reviews.core.model.ITopicContainer;
import org.eclipse.mylyn.reviews.core.model.IUser;
+import org.eclipse.mylyn.reviews.r4e.core.model.*;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomaly;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomalyTextPosition;
import org.eclipse.mylyn.reviews.r4e.core.model.R4EAnomalyType;
@@ -125,6 +129,8 @@ public class RModelSwitch<T> extends Switch<T> {
if (result == null) result = caseReview(r4EReview);
if (result == null) result = caseR4EReviewComponent(r4EReview);
if (result == null) result = caseModelVersioning(r4EReview);
+ if (result == null) result = caseTopicContainer(r4EReview);
+ if (result == null) result = caseDated(r4EReview);
if (result == null) result = caseReviewComponent(r4EReview);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -137,6 +143,8 @@ public class RModelSwitch<T> extends Switch<T> {
if (result == null) result = caseComment(r4EAnomaly);
if (result == null) result = caseR4EIDComponent(r4EAnomaly);
if (result == null) result = caseReviewComponent(r4EAnomaly);
+ if (result == null) result = caseIndexed(r4EAnomaly);
+ if (result == null) result = caseDated(r4EAnomaly);
if (result == null) result = caseR4EReviewComponent(r4EAnomaly);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -148,6 +156,8 @@ public class RModelSwitch<T> extends Switch<T> {
if (result == null) result = caseReview(r4EFormalReview);
if (result == null) result = caseR4EReviewComponent(r4EFormalReview);
if (result == null) result = caseModelVersioning(r4EFormalReview);
+ if (result == null) result = caseTopicContainer(r4EFormalReview);
+ if (result == null) result = caseDated(r4EFormalReview);
if (result == null) result = caseReviewComponent(r4EFormalReview);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -190,6 +200,7 @@ public class RModelSwitch<T> extends Switch<T> {
if (result == null) result = caseR4EIDComponent(r4EItem);
if (result == null) result = caseReviewItem(r4EItem);
if (result == null) result = caseR4EReviewComponent(r4EItem);
+ if (result == null) result = caseTopicContainer(r4EItem);
if (result == null) result = caseReviewComponent(r4EItem);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -199,6 +210,7 @@ public class RModelSwitch<T> extends Switch<T> {
T result = caseR4ETextContent(r4ETextContent);
if (result == null) result = caseR4EContent(r4ETextContent);
if (result == null) result = caseLocation(r4ETextContent);
+ if (result == null) result = caseIndexed(r4ETextContent);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -238,6 +250,8 @@ public class RModelSwitch<T> extends Switch<T> {
if (result == null) result = caseComment(r4EComment);
if (result == null) result = caseR4EIDComponent(r4EComment);
if (result == null) result = caseReviewComponent(r4EComment);
+ if (result == null) result = caseIndexed(r4EComment);
+ if (result == null) result = caseDated(r4EComment);
if (result == null) result = caseR4EReviewComponent(r4EComment);
if (result == null) result = defaultCase(theEObject);
return result;
@@ -284,6 +298,7 @@ public class RModelSwitch<T> extends Switch<T> {
R4EContent r4EContent = (R4EContent)theEObject;
T result = caseR4EContent(r4EContent);
if (result == null) result = caseLocation(r4EContent);
+ if (result == null) result = caseIndexed(r4EContent);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -907,6 +922,36 @@ public class RModelSwitch<T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Topic Container</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Topic Container</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTopicContainer(ITopicContainer object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dated</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dated</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDated(IDated object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Review</em>'.
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
@@ -920,6 +965,21 @@ public class RModelSwitch<T> extends Switch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Indexed</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Indexed</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseIndexed(IIndexed object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Comment</em>'.
* <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->