Class RightsSymbolicNameServiceDelegate
java.lang.Object
com._1c.g5.v8.dt.internal.rights.naming.RightsSymbolicNameServiceDelegate
- All Implemented Interfaces:
ISymbolicNameServiceDelegate
public final class RightsSymbolicNameServiceDelegate
extends Object
implements ISymbolicNameServiceDelegate
Implementation of
ISymbolicNameServiceDelegate contributed by 'rights' bundle.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.URIconvertCommonSymbolicNameToUri(String name, org.eclipse.emf.ecore.EClass targetType, IBmEngine engine) Converts common symbolic name to URI.org.eclipse.emf.common.util.URIconvertContextSpecificSymbolicNameToUri(String name, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature, String contextTopObjectFqn, IBmEngine engine) Converts context specific symbolic name to URI.convertUriToCommonSymbolicName(org.eclipse.emf.common.util.URI targetUri) Converts URI to common symbolic name.convertUriToContextSpecificSymbolicName(org.eclipse.emf.common.util.URI targetUri, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature) Converts URI to context specific symbolic name.generateCommonSymbolicName(org.eclipse.emf.ecore.EObject targetObject) Generates common symbolic name.generateContextSpecificSymbolicName(org.eclipse.emf.ecore.EObject targetObject, org.eclipse.emf.ecore.EObject contextObject, org.eclipse.emf.ecore.EReference contextFeature) Generates context specific symbolic name.
-
Constructor Details
-
RightsSymbolicNameServiceDelegate
public RightsSymbolicNameServiceDelegate()
-
-
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:ISymbolicNameServiceDelegateConverts common symbolic name to URI.- Specified by:
convertCommonSymbolicNameToUriin interfaceISymbolicNameServiceDelegate- Parameters:
name- The symbolic name to convert, may not benull.targetType- The target object type, may benull.engine- The BM engine, may not benull.- Returns:
- URI or
nullif 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:ISymbolicNameServiceDelegateConverts context specific symbolic name to URI.- Specified by:
convertContextSpecificSymbolicNameToUriin interfaceISymbolicNameServiceDelegate- Parameters:
name- The symbolic name to convert, may not benull.contextObject- The context object, may not benull.contextFeature- The context feature, may not benull.contextTopObjectFqn- The context top object FQN, may not benull.engine- The BM engine, may not benull.- Returns:
- URI or
nullif the context object is not supported by this delegate or no specific logic is required in this context.
-
generateCommonSymbolicName
Description copied from interface:ISymbolicNameServiceDelegateGenerates common symbolic name.- Specified by:
generateCommonSymbolicNamein interfaceISymbolicNameServiceDelegate- Parameters:
targetObject- The object to generate symbolic name for, may not benull.- Returns:
- symbolic name or
nullif the target object is not supported by this delegate or the object does not have a common symbolic name.
-
convertUriToCommonSymbolicName
Description copied from interface:ISymbolicNameServiceDelegateConverts URI to common symbolic name.- Specified by:
convertUriToCommonSymbolicNamein interfaceISymbolicNameServiceDelegate- Parameters:
targetUri- The URI to convert, may not benull.- Returns:
- symbolic name or
nullif 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:ISymbolicNameServiceDelegateGenerates context specific symbolic name.- Specified by:
generateContextSpecificSymbolicNamein interfaceISymbolicNameServiceDelegate- Parameters:
targetObject- The object to generate symbolic name for, may not benull.contextObject- The context object, may not benull.contextFeature- The context feature, may not benull.- Returns:
- symbolic name or
nullif 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:ISymbolicNameServiceDelegateConverts URI to context specific symbolic name.- Specified by:
convertUriToContextSpecificSymbolicNamein interfaceISymbolicNameServiceDelegate- Parameters:
targetUri- The URI to convert, may not benull.contextObject- The context object, may not benull.contextFeature- The context feature, may not benull.- Returns:
- symbolic name or
nullif the context object is not supported by this delegate or no specific logic is required in this context.
-