|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.ecore.EDatatypeIdResolver
public class EDatatypeIdResolver
An implementation of a ESSingletonIdResolver
that treats all EDataType
s as singletons.
Constructor Summary | |
---|---|
EDatatypeIdResolver()
Default constructor. |
Method Summary | |
---|---|
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 eDataType)
Determines whether the given EObject is a singleton. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EDatatypeIdResolver()
Method Detail |
---|
public org.eclipse.emf.ecore.EObject getSingleton(ESModelElementId singletonId)
ESModelElementId
.
getSingleton
in interface ESSingletonIdResolver
singletonId
- a ESModelElementId
EObject
that belongs to the given ESModelElementId
public ESModelElementId getSingletonModelElementId(org.eclipse.emf.ecore.EObject singleton)
EObject
.
getSingletonModelElementId
in interface ESSingletonIdResolver
singleton
- the singleton EObject
whose ESModelElementId
should get retrieved
ESModelElementId
of the the singleton object or null
if the given
EObject
is not a singleton, is not an instance of EDataType
or is null
public boolean isSingleton(org.eclipse.emf.ecore.EObject eDataType)
EObject
is a singleton.
isSingleton
in interface ESSingletonIdResolver
eDataType
- the EObject to check
true
, if the given EObject
is a singleton
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |