Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html')
-rw-r--r--plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html b/plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html
index 319092dd68..9197326790 100644
--- a/plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html
+++ b/plugins/org.eclipse.emf.cdo.doc/javadoc/org/eclipse/emf/cdo/common/revision/CDORevisionData.html
@@ -339,18 +339,18 @@ getContainingFeatureID</H3>
<PRE>
int <B>getContainingFeatureID</B>()</PRE>
<DL>
-<DD>Provides the input to the calculation of the feature in the container revision that actually holds this revision.
- <p>
- <b>Usage Example:</b>
- <p>
- <code><pre>
- CDORevision revision = ...;
- CDORevision container = <i>Util.getRevision</i>(revision.data().getContainerID());
-
- int containingFeatureID = revision.data().getContainingFeatureID();
-
- EStructuralFeature feature = containingFeatureID <= InternalEObject.EOPPOSITE_FEATURE_BASE ?
- container.getEClass().getEStructuralFeature(InternalEObject.EOPPOSITE_FEATURE_BASE - containingFeatureID) :
+<DD>Provides the input to the calculation of the feature in the container revision that actually holds this revision.
+ <p>
+ <b>Usage Example:</b>
+ <p>
+ <code><pre>
+ CDORevision revision = ...;
+ CDORevision container = <i>Util.getRevision</i>(revision.data().getContainerID());
+
+ int containingFeatureID = revision.data().getContainingFeatureID();
+
+ EStructuralFeature feature = containingFeatureID <= InternalEObject.EOPPOSITE_FEATURE_BASE ?
+ container.getEClass().getEStructuralFeature(InternalEObject.EOPPOSITE_FEATURE_BASE - containingFeatureID) :
((EReference)revision.getEClass().getEStructuralFeature(containingFeatureID)).getEOpposite();</pre></code>
<P>
<DD><DL>

Back to the top