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.URIgetContainerEObjectURI()org.eclipse.emf.ecore.EReferencegetEReference()intgetIndexInList()org.eclipse.emf.common.util.URIgetSourceEObjectUri()org.eclipse.emf.common.util.URIgetTargetEObjectUri()
-
-
-
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
EObjectcontaining this reference. This can be the EObject defining the reference or one of its containers.
-
-