|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.ecore.EDatatypeIdResolver
public class EDatatypeIdResolver
An implementation of a ESSingletonIdResolver that treats all EDataTypes 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 ESSingletonIdResolversingletonId - a ESModelElementId
EObject that belongs to the given ESModelElementIdpublic ESModelElementId getSingletonModelElementId(org.eclipse.emf.ecore.EObject singleton)
EObject.
getSingletonModelElementId in interface ESSingletonIdResolversingleton - 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 nullpublic boolean isSingleton(org.eclipse.emf.ecore.EObject eDataType)
EObject is a singleton.
isSingleton in interface ESSingletonIdResolvereDataType - 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 | ||||||||