Class MdSymbolicNameServiceDelegate

java.lang.Object
com._1c.g5.v8.dt.internal.md.naming.MdSymbolicNameServiceDelegate
All Implemented Interfaces:
ISymbolicNameServiceDelegate

public final class MdSymbolicNameServiceDelegate extends Object implements ISymbolicNameServiceDelegate
Implementation of ISymbolicNameServiceDelegate contributed by 'metadata' bundle.
  • Constructor Details

    • MdSymbolicNameServiceDelegate

      public MdSymbolicNameServiceDelegate()
  • Method Details

    • convertCommonSymbolicNameToUri

      public org.eclipse.emf.common.util.URI convertCommonSymbolicNameToUri(String name, org.eclipse.emf.ecore.EClass targetType, IBmEngine engine)
      Description copied from interface: ISymbolicNameServiceDelegate
      Converts common symbolic name to URI.
      Specified by:
      convertCommonSymbolicNameToUri in interface ISymbolicNameServiceDelegate
      Parameters:
      name - The symbolic name to convert, may not be null.
      targetType - The target object type, may be null.
      engine - The BM engine, may not be null.
      Returns:
      URI or null if the name is not supported by this delegate.
    • convertContextSpecificSymbolicNameToUri

      public org.eclipse.emf.common.util.URI convertContextSpecificSymbolicNameToUri(String name, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature, String contextTopObjectFqn, IBmEngine engine)
      Description copied from interface: ISymbolicNameServiceDelegate
      Converts context specific symbolic name to URI.
      Specified by:
      convertContextSpecificSymbolicNameToUri in interface ISymbolicNameServiceDelegate
      Parameters:
      name - The symbolic name to convert, may not be null.
      contextObject - The context object, may not be null.
      contextFeature - The context feature, may not be null.
      contextTopObjectFqn - The context top object FQN, may not be null.
      engine - The BM engine, may not be null.
      Returns:
      URI or null if the context object is not supported by this delegate or no specific logic is required in this context.
    • generateCommonSymbolicName

      public String generateCommonSymbolicName(org.eclipse.emf.ecore.EObject targetObject)
      Description copied from interface: ISymbolicNameServiceDelegate
      Generates common symbolic name.
      Specified by:
      generateCommonSymbolicName in interface ISymbolicNameServiceDelegate
      Parameters:
      targetObject - The object to generate symbolic name for, may not be null.
      Returns:
      symbolic name or null if the target object is not supported by this delegate or the object does not have a common symbolic name.
    • convertUriToCommonSymbolicName

      public String convertUriToCommonSymbolicName(org.eclipse.emf.common.util.URI targetUri)
      Description copied from interface: ISymbolicNameServiceDelegate
      Converts URI to common symbolic name.
      Specified by:
      convertUriToCommonSymbolicName in interface ISymbolicNameServiceDelegate
      Parameters:
      targetUri - The URI to convert, may not be null.
      Returns:
      symbolic name or null if the URI is not supported by this delegate or it cannot be converted to a symbolic name (e.g. the target object does not have a symbolic name).
    • generateContextSpecificSymbolicName

      public String generateContextSpecificSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature)
      Description copied from interface: ISymbolicNameServiceDelegate
      Generates context specific symbolic name.
      Specified by:
      generateContextSpecificSymbolicName in interface ISymbolicNameServiceDelegate
      Parameters:
      targetObject - The object to generate symbolic name for, may not be null.
      contextObject - The context object, may not be null.
      contextFeature - The context feature, may not be null.
      Returns:
      symbolic name or null if the context object is not supported by this delegate or no specific logic is required in this context.
    • convertUriToContextSpecificSymbolicName

      public String convertUriToContextSpecificSymbolicName(org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature)
      Description copied from interface: ISymbolicNameServiceDelegate
      Converts URI to context specific symbolic name.
      Specified by:
      convertUriToContextSpecificSymbolicName in interface ISymbolicNameServiceDelegate
      Parameters:
      targetUri - The URI to convert, may not be null.
      contextObject - The context object, may not be null.
      contextFeature - The context feature, may not be null.
      Returns:
      symbolic name or null if the context object is not supported by this delegate or no specific logic is required in this context.