Class OMRSRepositoryContentManager
java.lang.Object
org.odpi.openmetadata.repositoryservices.events.OMRSTypeDefEventProcessor
org.odpi.openmetadata.repositoryservices.localrepository.repositorycontentmanager.OMRSRepositoryContentManager
- All Implemented Interfaces:
OMRSTypeDefEventProcessorInterface,OMRSTypeDefManager
public class OMRSRepositoryContentManager
extends OMRSTypeDefEventProcessor
implements OMRSTypeDefManager
OMRSRepositoryContentManager supports an in-memory cache of TypeDefs for the local server. It is used by the OMRS
components for constructing metadata instances with valid types. It ensures that the TypeDefs used in other
members of the open metadata repository cohorts that the local server is also a member of are consistent with the
local repository.
OMRSRepositoryContentManager plays a central role in ensuring the integrity of the metadata in the local repository.
It is called from multiple components at different points in the processing. It presents a different interface
to each of these components that is specialized to their needs.
- OMRSTypeDefEventProcessor: processes inbound events from remote members of the open metadata repository cohorts that the local repository is connected to. These incoming TypeDef events need to be validated against the types used locally and either saved or discarded depending on the exchange rule setting.
- OMRSTypeDefManager: provides maintenance methods for managing the TypeDefs in the local cache.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.events.OMRSTypeDefEventProcessor
eventProcessorName -
Constructor Summary
ConstructorsConstructorDescriptionOMRSRepositoryContentManager(String localServerUserId, AuditLog auditLog) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeTypeDef(String sourceName, AttributeTypeDef newAttributeTypeDef) Cache a definition of a new AttributeTypeDef.voidaddTypeDef(String sourceName, TypeDef newTypeDef) Cache a definition of a new TypeDef.voiddeleteAttributeTypeDef(String sourceName, String obsoleteAttributeTypeDefGUID, String obsoleteAttributeTypeDefName) Delete a cached AttributeTypeDef.voiddeleteTypeDef(String sourceName, String obsoleteTypeDefGUID, String obsoleteTypeDefName) Delete a cached TypeDef.getEntityURL(String sourceName, String guid) Return the URL string to use for direct access to the metadata instance.getInitialStatus(String sourceName, String typeName, String methodName) Return the initial status value to use for an instance of the supplied type.getInstanceType(String sourceName, TypeDefCategory category, String typeName, String methodName) Return the InstanceType that matches the supplied type name.getMetadataCollectionName(String metadataCollectionId) Return the metadata collection name (or null) for a metadata collection id.getRelationshipURL(String sourceName, String guid) Return the URL string to use for direct access to the metadata instance.getSuperTypes(String sourceName, String typeName, String methodName) Evaluate the superTypes for a type.booleanisValidClassificationForEntity(String sourceName, String classificationTypeName, String entityTypeName, String methodName) Return boolean indicating if a classification type can be applied to a specified entity.booleanisValidTypeCategory(String sourceName, TypeDefCategory category, String typeName, String methodName) Return a boolean indicating that the type name matches the category.voidprocessAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage) Process a detected conflict in the attribute type definitions (AttributeTypeDefs) used in the cohort.voidprocessDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName) An existing AttributeTypeDef has been deleted in an open metadata repository.voidprocessDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName) An existing TypeDef has been deleted in a remote metadata repository.voidprocessNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef) A new AttributeTypeDef has been defined in an open metadata repository.voidprocessNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef) A new TypeDef has been defined either in an archive, or in another member of the cohort.voidprocessReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef) Process an event that changes either the name or guid of an AttributeTypeDef.voidprocessReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, TypeDef typeDef) Process an event that changes either the name or guid of a TypeDef.voidprocessTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDefSummary, String errorMessage) Process a detected conflict in type definitions (TypeDefs) used in the cohort.voidprocessTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef, String errorMessage) A TypeDef from another member in the cohort is at a different version than the local repository.voidprocessUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch) An existing TypeDef has been updated in a remote metadata repository.voidreIdentifyAttributeTypeDef(String sourceName, String originalAttributeTypeDefGUID, String originalAttributeTypeDefName, AttributeTypeDef newAttributeTypeDef) Change the identifiers for an AttributeTypeDef.voidreIdentifyTypeDef(String sourceName, String originalTypeDefGUID, String originalTypeDefName, TypeDef newTypeDef) Change the identifiers for a TypeDef.voidsendTypeDefEvent(String cohortName, OMRSTypeDefEvent typeDefEvent) Process incoming TypeDefEvent based on its type.voidsetOpenMetadataTypesOriginGUID(String openMetadataTypesGUID) Save the unique identifier of the open metadata archive.voidsetupEventProcessor(LocalOMRSRepositoryConnector localRepositoryConnector, OMRSRepositoryEventManager outboundRepositoryEventManager) Saves all the information necessary to process incoming TypeDef events.voidupdateTypeDef(String sourceName, TypeDef typeDef) Update one or more properties of a cached TypeDef.Methods inherited from class org.odpi.openmetadata.repositoryservices.events.OMRSTypeDefEventProcessor
getEventProcessorName
-
Constructor Details
-
OMRSRepositoryContentManager
Default constructor- Parameters:
localServerUserId- userId to use when processing messagesauditLog- audit log for this component.
-
-
Method Details
-
setupEventProcessor
public void setupEventProcessor(LocalOMRSRepositoryConnector localRepositoryConnector, OMRSRepositoryEventManager outboundRepositoryEventManager) Saves all the information necessary to process incoming TypeDef events.- Parameters:
localRepositoryConnector- connector to the local repositoryoutboundRepositoryEventManager- event manager to call for outbound events used to send out reports of conflicting TypeDefs
-
setOpenMetadataTypesOriginGUID
Save the unique identifier of the open metadata archive. This is stored in the origin property of all the open metadata types. It is needed to support the isOpenType() method.- Parameters:
openMetadataTypesGUID- unique identifier for the open metadata type's archive
-
addTypeDef
Cache a definition of a new TypeDef. This method assumes the TypeDef has been successfully added to the local repository already and all that is needed is to maintain the cached list of types- Specified by:
addTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)newTypeDef- TypeDef structure describing the new TypeDef.
-
addAttributeTypeDef
Cache a definition of a new AttributeTypeDef.- Specified by:
addAttributeTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)newAttributeTypeDef- AttributeTypeDef structure describing the new TypeDef.
-
updateTypeDef
Update one or more properties of a cached TypeDef. This method assumes the TypeDef has been successfully updated in the local repository already and all that is needed is to maintain the cached list of types- Specified by:
updateTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)typeDef- TypeDef structure.
-
deleteTypeDef
public void deleteTypeDef(String sourceName, String obsoleteTypeDefGUID, String obsoleteTypeDefName) Delete a cached TypeDef.- Specified by:
deleteTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)obsoleteTypeDefGUID- String unique identifier for the TypeDef.obsoleteTypeDefName- String unique name for the TypeDef.
-
deleteAttributeTypeDef
public void deleteAttributeTypeDef(String sourceName, String obsoleteAttributeTypeDefGUID, String obsoleteAttributeTypeDefName) Delete a cached AttributeTypeDef.- Specified by:
deleteAttributeTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)obsoleteAttributeTypeDefGUID- String unique identifier for the AttributeTypeDef.obsoleteAttributeTypeDefName- String unique name for the AttributeTypeDef.
-
reIdentifyTypeDef
public void reIdentifyTypeDef(String sourceName, String originalTypeDefGUID, String originalTypeDefName, TypeDef newTypeDef) Change the identifiers for a TypeDef.- Specified by:
reIdentifyTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging).originalTypeDefGUID- TypeDef's original unique identifier.originalTypeDefName- TypeDef's original unique name.newTypeDef- updated TypeDef with new identifiers.
-
reIdentifyAttributeTypeDef
public void reIdentifyAttributeTypeDef(String sourceName, String originalAttributeTypeDefGUID, String originalAttributeTypeDefName, AttributeTypeDef newAttributeTypeDef) Change the identifiers for an AttributeTypeDef.- Specified by:
reIdentifyAttributeTypeDefin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging).originalAttributeTypeDefGUID- AttributeTypeDef's original unique identifier.originalAttributeTypeDefName- AttributeTypeDef's original unique name.newAttributeTypeDef- updated AttributeTypeDef with new identifiers
-
getSuperTypes
Evaluate the superTypes for a type. The results are cached in typeDefSuperTypes.- Parameters:
sourceName- source of the request (used for logging)typeName- name of type to processmethodName- calling method- Returns:
- list of supertype links or null if top level
-
getInstanceType
public InstanceType getInstanceType(String sourceName, TypeDefCategory category, String typeName, String methodName) throws TypeErrorException Return the InstanceType that matches the supplied type name. If the type name is not recognized, of the category is incorrect, a logic exception is thrown.- Specified by:
getInstanceTypein interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)category- category of the instance type required.typeName- String type name.methodName- name of calling method.- Returns:
- InstanceType object containing TypeDef properties such as unique identifier (guid), typeDef name and version name
- Throws:
TypeErrorException- the type name is not a recognized type or is of the wrong category or there is a problem with the cached TypeDef.
-
isValidTypeCategory
public boolean isValidTypeCategory(String sourceName, TypeDefCategory category, String typeName, String methodName) throws TypeErrorException Return a boolean indicating that the type name matches the category.- Specified by:
isValidTypeCategoryin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)category- TypeDefCategory enum value to testtypeName- type name to testmethodName- name of calling method.- Returns:
- boolean flag indicating that the type name is of the specified category
- Throws:
TypeErrorException- the type name is not a recognized type or there is a problem with the cached TypeDef.
-
isValidClassificationForEntity
public boolean isValidClassificationForEntity(String sourceName, String classificationTypeName, String entityTypeName, String methodName) Return boolean indicating if a classification type can be applied to a specified entity. This uses the list of valid entity types located in the ClassificationDef.- Specified by:
isValidClassificationForEntityin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)classificationTypeName- name of the classification's type (ClassificationDef)entityTypeName- name of the entity's type (EntityDef)methodName- name of calling method.- Returns:
- boolean indicating if the classification is valid for the entity.
-
getInitialStatus
public InstanceStatus getInitialStatus(String sourceName, String typeName, String methodName) throws TypeErrorException Return the initial status value to use for an instance of the supplied type.- Specified by:
getInitialStatusin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)typeName- name of the type to extract the initial status from.methodName- calling method- Returns:
- InstanceStatus enum
- Throws:
TypeErrorException- the type name is not recognized.
-
getEntityURL
Return the URL string to use for direct access to the metadata instance.- Specified by:
getEntityURLin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)guid- unique identifier for the instance.- Returns:
- String URL with placeholder for variables such as userId.
-
getRelationshipURL
Return the URL string to use for direct access to the metadata instance.- Specified by:
getRelationshipURLin interfaceOMRSTypeDefManager- Parameters:
sourceName- source of the request (used for logging)guid- unique identifier for the instance.- Returns:
- String URL with placeholder for variables such as userId.
-
sendTypeDefEvent
Process incoming TypeDefEvent based on its type.- Specified by:
sendTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
sendTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
cohortName- source of the event (cohort name)typeDefEvent- event to process
-
processNewTypeDefEvent
public void processNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef) A new TypeDef has been defined either in an archive, or in another member of the cohort. This new TypeDef can be added to the repository if it does not clash with an existing typeDef and the local repository supports dynamic type definitions.- Specified by:
processNewTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processNewTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.typeDef- details of the new TypeDef
-
processNewAttributeTypeDefEvent
public void processNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef) A new AttributeTypeDef has been defined in an open metadata repository.- Specified by:
processNewAttributeTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processNewAttributeTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.attributeTypeDef- details of the new AttributeTypeDef.
-
processUpdatedTypeDefEvent
public void processUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch) An existing TypeDef has been updated in a remote metadata repository.- Specified by:
processUpdatedTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processUpdatedTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.typeDefPatch- details of the new version of the TypeDef
-
processDeletedTypeDefEvent
public void processDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName) An existing TypeDef has been deleted in a remote metadata repository. Both the name and the GUID are provided to ensure the right TypeDef is deleted in other cohort member repositories.- Specified by:
processDeletedTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processDeletedTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.typeDefGUID- unique identifier of the TypeDeftypeDefName- unique name of the TypeDef
-
processDeletedAttributeTypeDefEvent
public void processDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName) An existing AttributeTypeDef has been deleted in an open metadata repository. Both the name and the GUID are provided to ensure the right AttributeTypeDef is deleted in other cohort member repositories.- Specified by:
processDeletedAttributeTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processDeletedAttributeTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.attributeTypeDefGUID- unique identifier of the AttributeTypeDefattributeTypeDefName- unique name of the AttributeTypeDef
-
processReIdentifiedTypeDefEvent
public void processReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, TypeDef typeDef) Process an event that changes either the name or guid of a TypeDef. It is resolving a Conflicting TypeDef Error.- Specified by:
processReIdentifiedTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processReIdentifiedTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.originalTypeDefSummary- details of the original TypeDeftypeDef- updated TypeDef with new identifiers inside.
-
processReIdentifiedAttributeTypeDefEvent
public void processReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef) Process an event that changes either the name or guid of an AttributeTypeDef. It is resolving a Conflicting AttributeTypeDef Error.- Specified by:
processReIdentifiedAttributeTypeDefEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processReIdentifiedAttributeTypeDefEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.originalAttributeTypeDef- description of original AttributeTypeDefattributeTypeDef- updated AttributeTypeDef with new identifiers inside.
-
processTypeDefConflictEvent
public void processTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDefSummary, String errorMessage) Process a detected conflict in type definitions (TypeDefs) used in the cohort.- Specified by:
processTypeDefConflictEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processTypeDefConflictEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.originatorTypeDefSummary- details of the TypeDef in the event originatorotherMetadataCollectionId- the metadataCollection using the conflicting TypeDefconflictingTypeDefSummary- the details of the TypeDef in the other metadata collectionerrorMessage- details of the error that occurs when the connection is used.
-
processAttributeTypeDefConflictEvent
public void processAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage) Process a detected conflict in the attribute type definitions (AttributeTypeDefs) used in the cohort.- Specified by:
processAttributeTypeDefConflictEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processAttributeTypeDefConflictEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.originatorAttributeTypeDef- - description of the AttributeTypeDef in the event originator.otherMetadataCollectionId- the metadataCollection using the conflicting AttributeTypeDef.conflictingAttributeTypeDef- description of the AttributeTypeDef in the other metadata collection.errorMessage- details of the error that occurs when the connection is used.
-
processTypeDefPatchMismatchEvent
public void processTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef, String errorMessage) A TypeDef from another member in the cohort is at a different version than the local repository. This may create some inconsistencies in the different copies of instances of this type in different members of the cohort. The recommended action is to update all TypeDefs to the latest version.- Specified by:
processTypeDefPatchMismatchEventin interfaceOMRSTypeDefEventProcessorInterface- Specified by:
processTypeDefPatchMismatchEventin classOMRSTypeDefEventProcessor- Parameters:
sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.originatorServerName- name of the server that the event came from.originatorServerType- type of server that the event came from.originatorOrganizationName- name of the organization that owns the server that sent the event.targetMetadataCollectionId- identifier of the metadata collection that is reporting a TypeDef at a different level to the local repository.targetTypeDefSummary- details of the target TypeDefotherTypeDef- details of the TypeDef in the local repository.errorMessage- details of the error that occurs when the connection is used.
-
getMetadataCollectionName
Return the metadata collection name (or null) for a metadata collection id.- Parameters:
metadataCollectionId- unique identifier (guid) for the metadata collection.- Returns:
- display name
-