Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.naming.IQualifiedNameProvider

        org.eclipse.xtext.naming.IQualifiedNameProvider.AbstractImpl
    • 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 returns ENamedElement.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)  
      • Methods inherited from class org.eclipse.xtext.naming.IQualifiedNameProvider.AbstractImpl

        apply
      • 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
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • EcoreQualifiedNameProvider

        public EcoreQualifiedNameProvider()
    • 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 returns ENamedElement.getName().
        Since:
        2.30