Package org.eclipse.xtext.resource
Interface IReferenceDescription
-
- All Known Implementing Classes:
DefaultReferenceDescription
,SerializableReferenceDescription
public interface IReferenceDescription
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.URI
getContainerEObjectURI()
org.eclipse.emf.ecore.EReference
getEReference()
int
getIndexInList()
org.eclipse.emf.common.util.URI
getSourceEObjectUri()
org.eclipse.emf.common.util.URI
getTargetEObjectUri()
-
-
-
Method Detail
-
getSourceEObjectUri
org.eclipse.emf.common.util.URI getSourceEObjectUri()
- Returns:
- the URI pointing to the source
EObject
-
getTargetEObjectUri
org.eclipse.emf.common.util.URI getTargetEObjectUri()
- Returns:
- the URI pointing to the target
EObject
-
getIndexInList
int getIndexInList()
- Returns:
- the index of the reference, if the reference isMultiple, -1 if it is a single value reference
-
getEReference
org.eclipse.emf.ecore.EReference getEReference()
- Returns:
- the
EReference
-
getContainerEObjectURI
org.eclipse.emf.common.util.URI getContainerEObjectURI()
- Returns:
- the URI pointing to the exported
EObject
containing this reference. This can be the EObject defining the reference or one of its containers.
-
-