org.eclipse.xtext.ecore
Class EcoreQualifiedNameProvider
java.lang.Object
org.eclipse.xtext.naming.IQualifiedNameProvider.AbstractImpl
org.eclipse.xtext.ecore.EcoreQualifiedNameProvider
- All Implemented Interfaces:
- com.google.common.base.Function<org.eclipse.emf.ecore.EObject,QualifiedName>, IQualifiedNameProvider
- Direct Known Subclasses:
- NsURIQualifiedNameProvider
public class EcoreQualifiedNameProvider
- extends IQualifiedNameProvider.AbstractImpl
- Author:
- Jan Koehnlein - Initial contribution and API
Method Summary |
protected java.lang.String |
getCacheKey()
|
QualifiedName |
getFullyQualifiedName(org.eclipse.emf.ecore.EObject obj)
|
protected boolean |
isRecurseParent(org.eclipse.emf.ecore.EObject obj)
|
protected java.lang.String |
name(org.eclipse.emf.ecore.EClassifier eClassifier)
|
protected java.lang.String |
name(org.eclipse.emf.ecore.EOperation eOperation)
|
protected java.lang.String |
name(org.eclipse.emf.ecore.EPackage ePackage)
|
protected java.lang.String |
name(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
EcoreQualifiedNameProvider
public EcoreQualifiedNameProvider()
getFullyQualifiedName
public QualifiedName getFullyQualifiedName(org.eclipse.emf.ecore.EObject obj)
- Returns:
- the qualified name for the given object,
null
if this IQualifiedNameProvider
is not
responsible or if the given object doesn't have qualified name.
isRecurseParent
protected boolean isRecurseParent(org.eclipse.emf.ecore.EObject obj)
getCacheKey
protected java.lang.String getCacheKey()
name
protected java.lang.String name(org.eclipse.emf.ecore.EPackage ePackage)
name
protected java.lang.String name(org.eclipse.emf.ecore.EClassifier eClassifier)
name
protected java.lang.String name(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
name
protected java.lang.String name(org.eclipse.emf.ecore.EOperation eOperation)