public interface ESSingletonIdResolver
ESModelElementIds to singleton objects and vice versa.| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.EObject |
getSingleton(ESModelElementId singletonId)
Returns the singleton which belongs to the given
ESModelElementId. |
ESModelElementId |
getSingletonModelElementId(org.eclipse.emf.ecore.EObject singleton)
Returns the ID for the given singleton
EObject. |
boolean |
isSingleton(org.eclipse.emf.ecore.EObject eObject)
Determines whether the given
EObject is a singleton. |
ESModelElementId getSingletonModelElementId(org.eclipse.emf.ecore.EObject singleton)
EObject.singleton - the singleton EObject whose ESModelElementId should get retrievedESModelElementId of the the singleton object or null if the given
EObject is not a singleton or if it is nullorg.eclipse.emf.ecore.EObject getSingleton(ESModelElementId singletonId)
ESModelElementId.singletonId - a ESModelElementIdEObject that belongs to the given ESModelElementIdboolean isSingleton(org.eclipse.emf.ecore.EObject eObject)
EObject is a singleton.eObject - the EObject to checktrue, if the given EObject is a singletonCopyright © 2017. All rights reserved.