public abstract class OMRSTypeDefEventProcessor extends Object implements OMRSTypeDefEventProcessorInterface
| Modifier and Type | Field and Description |
|---|---|
protected String |
eventProcessorName |
| Modifier | Constructor and Description |
|---|---|
protected |
OMRSTypeDefEventProcessor(String eventProcessorName)
Constructor to initialize the name of the processor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEventProcessorName()
Return the name of the event processor.
|
abstract 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.
|
abstract 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.
|
abstract void |
processDeletedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String typeDefGUID,
String typeDefName)
An existing TypeDef has been deleted in an open metadata repository.
|
abstract 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.
|
abstract void |
processNewTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDef typeDef)
A new TypeDef has been defined in an open metadata repository.
|
abstract 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.
|
abstract void |
processReIdentifiedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originalTypeDef,
TypeDef typeDef)
Process an event that changes either the name or guid of a TypeDef.
|
abstract void |
processTypeDefConflictEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefSummary originatorTypeDef,
String otherMetadataCollectionId,
TypeDefSummary conflictingTypeDef,
String errorMessage)
Process a detected conflict in the type definitions (TypeDefs) used in the cohort.
|
abstract void |
processTypeDefPatchMismatchEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
String targetMetadataCollectionId,
TypeDefSummary targetTypeDef,
TypeDef otherTypeDef,
String errorMessage)
A TypeDef from another member in the cohort is at a different version than the local repository.
|
abstract void |
processUpdatedTypeDefEvent(String sourceName,
String originatorMetadataCollectionId,
String originatorServerName,
String originatorServerType,
String originatorOrganizationName,
TypeDefPatch typeDefPatch)
An existing TypeDef has been updated in an open metadata repository.
|
abstract void |
sendTypeDefEvent(String sourceName,
OMRSTypeDefEvent typeDefEvent)
Send the TypeDef event to the OMRS Topic connector (providing TypeDef Events are enabled).
|
protected String eventProcessorName
protected OMRSTypeDefEventProcessor(String eventProcessorName)
eventProcessorName - string namepublic String getEventProcessorName()
public abstract void sendTypeDefEvent(String sourceName, OMRSTypeDefEvent typeDefEvent)
sendTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - source of the eventtypeDefEvent - properties of the event to sendpublic abstract void processNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef)
processNewTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.public abstract void processNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef)
processNewAttributeTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.public abstract void processUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch)
processUpdatedTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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 TypeDefpublic abstract void processDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName)
processDeletedTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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 TypeDefpublic abstract void processDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName)
processDeletedAttributeTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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 AttributeTypeDefpublic abstract void processReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDef, TypeDef typeDef)
processReIdentifiedTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.originalTypeDef - description of original TypeDeftypeDef - updated TypeDef with new identifiers inside.public abstract void processReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef)
processReIdentifiedAttributeTypeDefEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.public abstract void processTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDef, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDef, String errorMessage)
processTypeDefConflictEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.originatorTypeDef - description of the TypeDef in the event originator.otherMetadataCollectionId - the metadataCollection using the conflicting TypeDef.conflictingTypeDef - description of the TypeDef in the other metadata collection.errorMessage - details of the error that occurs when the connection is used.public abstract void processAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage)
processAttributeTypeDefConflictEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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.public abstract void processTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDef, TypeDef otherTypeDef, String errorMessage)
processTypeDefPatchMismatchEvent in interface OMRSTypeDefEventProcessorInterfacesourceName - 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 reporting repository.targetTypeDef - details of the TypeDef in the target repository.otherTypeDef - details of the TypeDef in the other repository.errorMessage - details of the error that occurs when the connection is used.Copyright © 2018–2019 ODPi. All rights reserved.