Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2014-01-13 13:46:01 +0000
committerEd Merks2014-01-13 13:46:01 +0000
commitcb5ed66a3c1b56b27337b013127ee1e0ba2e8363 (patch)
tree7f33da8682e78af87b3ffd9c449515b650808deb
parent2efdaf82b8056f7b9ca75f902fe1f260e541d3dd (diff)
downloadorg.eclipse.emf-cb5ed66a3c1b56b27337b013127ee1e0ba2e8363.tar.gz
org.eclipse.emf-cb5ed66a3c1b56b27337b013127ee1e0ba2e8363.tar.xz
org.eclipse.emf-cb5ed66a3c1b56b27337b013127ee1e0ba2e8363.zip
[425192] Improve javadoc for EMOFExtendedMetadata.
-rw-r--r--plugins/org.eclipse.emf.ecore.xmi/src/org/eclipse/emf/ecore/xmi/impl/EMOFExtendedMetaData.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.ecore.xmi/src/org/eclipse/emf/ecore/xmi/impl/EMOFExtendedMetaData.java b/plugins/org.eclipse.emf.ecore.xmi/src/org/eclipse/emf/ecore/xmi/impl/EMOFExtendedMetaData.java
index 54b67b6d8..80bdaf11c 100644
--- a/plugins/org.eclipse.emf.ecore.xmi/src/org/eclipse/emf/ecore/xmi/impl/EMOFExtendedMetaData.java
+++ b/plugins/org.eclipse.emf.ecore.xmi/src/org/eclipse/emf/ecore/xmi/impl/EMOFExtendedMetaData.java
@@ -12,6 +12,7 @@ package org.eclipse.emf.ecore.xmi.impl;
import java.util.HashMap;
+import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EModelElement;
import org.eclipse.emf.ecore.EPackage;
@@ -27,7 +28,6 @@ public class EMOFExtendedMetaData extends BasicExtendedMetaData
{
public static final String EMOF_PACKAGE_NS_PREFIX = "emof";
/**
- * See <a href="http://www.omg.org/docs/html/06-01-01/Output/apndx_a.html#77093">OMG Issue 77093</a> but note that it has a typo and that "orb" should be "org".
* @since 2.4
*/
public static final String EMOF_PACKAGE_NS_URI_2_0 = "http://schema.omg.org/spec/MOF/2.0/emof.xml";
@@ -60,6 +60,13 @@ public class EMOFExtendedMetaData extends BasicExtendedMetaData
public static final String EMOF_COMMENT_ANNOTATION_SOURCE = EMOF_PACKAGE_NS_URI_2_0 + "#Comment";
public static final String EMOF_PROPERTY_CLASS_NAME = "Property";
+
+ /**
+ * <a href="http://www.omg.org/issues/mof2core-rtf.html#Issue12800">OMG Issue 12800</a> suggested using this name for EMOF comments and Ecore annotations
+ * to identify the name at the opposite end of an non-navigable property reference.
+ * The eventual MOF resolution used a <code>org.omg.emof.oppositeRoleName</code> tag.
+ * This name is used as the {@link EAnnotation#getSource() source} for an {@link EReference} annotation whose {@link #EMOF_COMMENT_BODY} detail provides the opposite name.
+ */
public static final String EMOF_PROPERTY_OPPOSITE_ROLE_NAME_ANNOTATION_SOURCE = EMOF_PACKAGE_NS_URI_2_0 + "#Property.oppositeRoleName";
/**

Back to the top