Package 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,org.eclipse.xtext.naming.QualifiedName>
,java.util.function.Function<org.eclipse.emf.ecore.EObject,org.eclipse.xtext.naming.QualifiedName>
,org.eclipse.xtext.naming.IQualifiedNameProvider
- Direct Known Subclasses:
NsURIQualifiedNameProvider
public class EcoreQualifiedNameProvider extends org.eclipse.xtext.naming.IQualifiedNameProvider.AbstractImpl
-
-
Constructor Summary
Constructors Constructor Description EcoreQualifiedNameProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
defaultName(org.eclipse.emf.ecore.ENamedElement element)
Default implementation: simply returnsENamedElement.getName()
.protected java.lang.String
getCacheKey()
org.eclipse.xtext.naming.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.EEnumLiteral enumLiteral)
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)
-
-
-
Method Detail
-
getFullyQualifiedName
public org.eclipse.xtext.naming.QualifiedName getFullyQualifiedName(org.eclipse.emf.ecore.EObject obj)
-
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.EEnumLiteral enumLiteral)
-
name
protected java.lang.String name(org.eclipse.emf.ecore.EOperation eOperation)
-
defaultName
protected java.lang.String defaultName(org.eclipse.emf.ecore.ENamedElement element)
Default implementation: simply returnsENamedElement.getName()
.- Since:
- 2.30
-
-