Package com._1c.g5.v8.dt.core.naming
Interface ITopObjectFqnGenerator
-
- All Known Subinterfaces:
ITopObjectFqnGeneratorDelegate
- All Known Implementing Classes:
BaseTopObjectFqnGeneratorDelegate
public interface ITopObjectFqnGenerator
Interface for the service responsible for generating FQNs. FQNs are used in DT as natural identifiers for configuration objects, i.e. they are used for querying objects from persistent stores, for representing symbolic links in XML and so on. Below are shown a few examples of top object FQNs.
- Configuration
- Configuration.MainSectionCommandInterface
- Catalog.Customers
- Catalog.Customers.Form.ItemForm.Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
generateExternalPropertyFqn(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference ownerFeature)
Generates FQN for an external property.String
generateNamedExternalPropertyFqn(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference ownerFeature, String name)
Generates FQN for a named external property.String
generateStandaloneObjectFqn(org.eclipse.emf.ecore.EClass eClass, String name)
Generates FQN for a standalone object.
-
-
-
Method Detail
-
generateStandaloneObjectFqn
String generateStandaloneObjectFqn(org.eclipse.emf.ecore.EClass eClass, String name)
Generates FQN for a standalone object.- Parameters:
eClass
- theEClass
of the object, may not benull
.name
- the name of the object, may not benull
.- Returns:
- FQN or
null
.
-
generateExternalPropertyFqn
String generateExternalPropertyFqn(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference ownerFeature)
Generates FQN for an external property.- Parameters:
owner
- the owner of the external property, may not benull
.ownerFeature
- the feature of the owner, may not benull
.- Returns:
- FQN or
null
.
-
generateNamedExternalPropertyFqn
String generateNamedExternalPropertyFqn(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference ownerFeature, String name)
Generates FQN for a named external property.- Parameters:
owner
- the owner of the external property, may not benull
.ownerFeature
- the feature of the owner, may not benull
.name
- the name of the external property, may not benull
.- Returns:
- FQN or
null
.
-
-