public class OMRSTypeDefEvent extends OMRSEvent
errorMessage, eventCategory, eventDirection, eventOriginator, eventTimestamp, genericErrorCode, otherAttributeTypeDef, otherInstanceGUID, otherMetadataCollectionId, otherOrigin, otherTypeDef, otherTypeDefSummary, targetAttributeTypeDef, targetInstanceGUID, targetMetadataCollectionId, targetRemoteConnection, targetTypeDefSummary| Constructor and Description |
|---|
OMRSTypeDefEvent(OMRSEventV1 inboundEvent)
Inbound event constructor that takes the object created by the Jackson JSON mapper and unpacks the
properties into the instance event.
|
OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode,
String errorMessage,
AttributeTypeDef originatorAttributeTypeDef,
String otherMetadataCollectionId,
AttributeTypeDef otherAttributeTypeDef)
Outbound event constructor for conflicting attribute typedef errors.
|
OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode,
String errorMessage,
String targetMetadataCollectionId,
AttributeTypeDef targetAttributeTypeDef,
AttributeTypeDef otherAttributeTypeDef)
Outbound event constructor for conflicting attribute typedef errors.
|
OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode,
String errorMessage,
String targetMetadataCollectionId,
TypeDefSummary targetTypeDefSummary,
TypeDef otherTypeDef)
Outbound event constructor for typedef mismatch errors.
|
OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode,
String errorMessage,
TypeDefSummary originatorTypeDefSummary,
String otherMetadataCollectionId,
TypeDefSummary otherTypeDefSummary)
Outbound event constructor for conflicting typedef errors.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
AttributeTypeDef attributeTypeDef)
Outbound event constructor for events such as newAttributeTypeDef.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
AttributeTypeDef originalAttributeTypeDef,
AttributeTypeDef attributeTypeDef)
Outbound event constructor for changing the identifiers associated with AttributeTypeDefs.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
String typeDefGUID,
String typeDefName)
Outbound event constructor for events such as deletes.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
TypeDef typeDef)
Outbound event constructor for events such as newTypeDef.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
TypeDefPatch typeDefPatch)
Outbound event constructor for events such as updates.
|
OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType,
TypeDefSummary originalTypeDefSummary,
TypeDef typeDef)
Outbound event constructor for changing the identifiers associated with TypeDefs.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeTypeDef |
getAttributeTypeDef()
Return the complete AttributeTypeDef object.
|
OMRSTypeDefEventErrorCode |
getErrorCode()
Return the TypeDef error code for error events.
|
OMRSEventV1 |
getOMRSEventV1()
Returns an OMRSEvent populated with details from this TypeDefEvent
|
AttributeTypeDef |
getOriginalAttributeTypeDef()
Return the details of the AttributeTypeDef before it was changed.
|
TypeDefSummary |
getOriginalTypeDefSummary()
Return the details of the TypeDef before it was changed.
|
TypeDef |
getTypeDef()
Return the complete TypeDef object.
|
OMRSTypeDefEventType |
getTypeDefEventType()
Return the code for this event's type.
|
String |
getTypeDefGUID()
Return the unique id of the TypeDef.
|
String |
getTypeDefName()
Return the unique name of the TypeDef.
|
TypeDefPatch |
getTypeDefPatch()
Return a patch for the TypeDef.
|
String |
toString()
Standard toString method.
|
getErrorMessage, getEventCategory, getEventDirection, getEventOriginator, getEventTimestamp, getGenericErrorCode, getOtherAttributeTypeDef, getOtherInstanceGUID, getOtherMetadataCollectionId, getOtherOrigin, getOtherTypeDef, getOtherTypeDefSummary, getTargetAttributeTypeDef, getTargetInstanceGUID, getTargetMetadataCollectionId, getTargetRemoteConnection, getTargetTypeDefSummary, setEventOriginatorpublic OMRSTypeDefEvent(OMRSEventV1 inboundEvent)
inboundEvent - incoming Event.public OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, TypeDef typeDef)
typeDefEventType - type of eventtypeDef - Complete details of the TypeDef that is the subject of the event.public OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, AttributeTypeDef attributeTypeDef)
typeDefEventType - type of eventattributeTypeDef - Complete details of the AttributeTypeDef that is the subject of the event.public OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, TypeDefPatch typeDefPatch)
typeDefEventType - type of eventtypeDefPatch - Complete details of the TypeDef that is the subject of the event.public OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, String typeDefGUID, String typeDefName)
typeDefEventType - type of eventtypeDefGUID - Unique identifier of the TypeDef that is the subject of the event.typeDefName - Unique name of the TypeDef that is the subject of the event.public OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, TypeDefSummary originalTypeDefSummary, TypeDef typeDef)
typeDefEventType - type of eventoriginalTypeDefSummary - description of the original TypeDef that is the subject of the event.typeDef - updated TypeDef with new identifierspublic OMRSTypeDefEvent(OMRSTypeDefEventType typeDefEventType, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef)
typeDefEventType - type of eventoriginalAttributeTypeDef - description of the original AttributeTypeDef that is the subject of the event.attributeTypeDef - updated AttributeTypeDef with new identifierspublic OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode, String errorMessage, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary otherTypeDefSummary)
errorCode - code enum indicating the cause of the error.errorMessage - descriptive message about the error.originatorTypeDefSummary - details of the TypeDef in the remote repository.otherMetadataCollectionId - unique id of the remote repository.otherTypeDefSummary - details of the TypeDef in the local repository.public OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode, String errorMessage, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef otherAttributeTypeDef)
errorCode - code enum indicating the cause of the error.errorMessage - descriptive message about the error.originatorAttributeTypeDef - details of the TypeDef in the local repository.otherMetadataCollectionId - unique id of the remote repository.otherAttributeTypeDef - details of the TypeDef in the remote repository.public OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode, String errorMessage, String targetMetadataCollectionId, AttributeTypeDef targetAttributeTypeDef, AttributeTypeDef otherAttributeTypeDef)
errorCode - code enum indicating the cause of the error.errorMessage - descriptive message about the error.targetMetadataCollectionId - identifier of the cohort member that issued the event in error.targetAttributeTypeDef - details of the TypeDef in the remote repository.otherAttributeTypeDef - details of the TypeDef in the local repository.public OMRSTypeDefEvent(OMRSTypeDefEventErrorCode errorCode, String errorMessage, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef)
errorCode - code enum indicating the cause of the error.errorMessage - descriptive message about the error.targetMetadataCollectionId - identifier of the cohort member that issued the event in error.targetTypeDefSummary - details of the TypeDef in the remote repository.otherTypeDef - details of the TypeDef in the local repository.public OMRSTypeDefEventType getTypeDefEventType()
public TypeDef getTypeDef()
public AttributeTypeDef getAttributeTypeDef()
public String getTypeDefGUID()
public String getTypeDefName()
public TypeDefPatch getTypeDefPatch()
public TypeDefSummary getOriginalTypeDefSummary()
public AttributeTypeDef getOriginalAttributeTypeDef()
public OMRSTypeDefEventErrorCode getErrorCode()
public OMRSEventV1 getOMRSEventV1()
getOMRSEventV1 in class OMRSEventCopyright © 2018–2020 ODPi. All rights reserved.