Class BaseFqnProviderDelegate

    • Constructor Detail

      • BaseFqnProviderDelegate

        public BaseFqnProviderDelegate​(org.eclipse.emf.ecore.EPackage... supportedPackages)
        Constructs a new instance.
        Parameters:
        supportedPackages - the packages supported by this delegate. Note that at least one packages must be specified, otherwise an exception will be thrown.
    • Method Detail

      • getSupportedPackages

        public final Collection<org.eclipse.emf.ecore.EPackage> getSupportedPackages()
        Gets the collections of the supported packages.
        Specified by:
        getSupportedPackages in interface IFqnProviderDelegate
        Returns:
        the collection of the supported packages.
      • getContainedBmObjectFqn

        public final org.eclipse.xtext.naming.QualifiedName getContainedBmObjectFqn​(IBmObject object)
        Gets FQN of the specified contained BM object.
        Specified by:
        getContainedBmObjectFqn in interface IFqnProviderDelegate
        Parameters:
        object - the object, may not be null.
        Returns:
        the qualified name or null.
      • getNonBmObjectFqn

        public final org.eclipse.xtext.naming.QualifiedName getNonBmObjectFqn​(org.eclipse.emf.ecore.EObject object)
        Gets FQN of the specified non-BM object.
        Specified by:
        getNonBmObjectFqn in interface IFqnProviderDelegate
        Parameters:
        object - the object, may not be null.
        Returns:
        the qualified name or null.
      • getFullyQualifiedNameInternal

        protected abstract org.eclipse.xtext.naming.QualifiedName getFullyQualifiedNameInternal​(org.eclipse.emf.ecore.EObject object)
        Descendant classes implement this method to provide specific logic for generating qualified names for contained BM objects and non-BM objects.
        Parameters:
        object - the object to generate qualified name for, may not be null.
        Returns:
        qualified name or null.