Class OMRSEventV1ErrorSection
java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.v1.OMRSEventV1ErrorSection
- All Implemented Interfaces:
Serializable
OMRSEventV1ErrorSection describes the properties used to record errors detected by one of the members of the
open metadata repository cohort.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the reason for the error.Return the message associated with the error.Return the type information for the conflicting type.Return the unique identifier of the conflicting instance.Return the unique identifier of the conflicting metadata collection.Return the provenance type of the conflicting metadata collection.Return the type information for the conflicting type.Return the type information for the conflicting type.Return details of the attribute type in trouble.Return the unique identifier for the instance in trouble.Return the identifier of the metadata collection nominated to resolve the error.Return the remote collection that has an issue.Return details of the type in trouble.void
setErrorCode
(OMRSEventErrorCode errorCode) Set up the reason for the error.void
setErrorMessage
(String errorMessage) Set up the message associated with the error.void
setOtherAttributeTypeDef
(AttributeTypeDef otherAttributeTypeDef) Set up the type information for the conflicting type.void
setOtherInstanceGUID
(String otherInstanceGUID) Set up the unique identifier of the conflicting instance.void
setOtherMetadataCollectionId
(String otherMetadataCollectionId) Set up the unique identifier of the conflicting metadata collection.void
setOtherOrigin
(InstanceProvenanceType otherOrigin) Set up the provenance type of the conflicting metadata collection.void
setOtherTypeDef
(TypeDef otherTypeDef) Set up the type information for the conflicting type.void
setOtherTypeDefSummary
(TypeDefSummary otherTypeDefSummary) Set up the type information for the conflicting type.void
setTargetAttributeTypeDef
(AttributeTypeDef targetAttributeTypeDef) Set up details of the attribute type in trouble.void
setTargetInstanceGUID
(String targetInstanceGUID) Set up the unique identifier for the instance in trouble.void
setTargetMetadataCollectionId
(String targetMetadataCollectionId) Set up the identifier of the metadata collection nominated to resolve the error.void
setTargetRemoteConnection
(Connection targetRemoteConnection) Set up the remote collection that has an issue.void
setTargetTypeDefSummary
(TypeDefSummary targetTypeDefSummary) Set up details of the type in trouble.toString()
JSON-style toString.
-
Constructor Details
-
OMRSEventV1ErrorSection
public OMRSEventV1ErrorSection()Default constructor
-
-
Method Details
-
getErrorCode
Return the reason for the error.- Returns:
- enum
-
setErrorCode
Set up the reason for the error.- Parameters:
errorCode
- enum
-
getErrorMessage
Return the message associated with the error. It details the elements in trouble.- Returns:
- text message
-
setErrorMessage
Set up the message associated with the error. It details the elements in trouble.- Parameters:
errorMessage
- text message
-
getTargetMetadataCollectionId
Return the identifier of the metadata collection nominated to resolve the error.- Returns:
- guid
-
setTargetMetadataCollectionId
Set up the identifier of the metadata collection nominated to resolve the error.- Parameters:
targetMetadataCollectionId
- guid
-
getTargetRemoteConnection
Return the remote collection that has an issue.- Returns:
- connection
-
setTargetRemoteConnection
Set up the remote collection that has an issue.- Parameters:
targetRemoteConnection
- connection
-
getTargetTypeDefSummary
Return details of the type in trouble.- Returns:
- typeDef summary
-
setTargetTypeDefSummary
Set up details of the type in trouble.- Parameters:
targetTypeDefSummary
- typeDef summary
-
getTargetAttributeTypeDef
Return details of the attribute type in trouble.- Returns:
- attribute typeDef
-
setTargetAttributeTypeDef
Set up details of the attribute type in trouble.- Parameters:
targetAttributeTypeDef
- attribute typeDef
-
getTargetInstanceGUID
Return the unique identifier for the instance in trouble.- Returns:
- guid
-
setTargetInstanceGUID
Set up the unique identifier for the instance in trouble.- Parameters:
targetInstanceGUID
- guid
-
getOtherOrigin
Return the provenance type of the conflicting metadata collection.- Returns:
- enum
-
setOtherOrigin
Set up the provenance type of the conflicting metadata collection.- Parameters:
otherOrigin
- enum
-
getOtherMetadataCollectionId
Return the unique identifier of the conflicting metadata collection.- Returns:
- guid
-
setOtherMetadataCollectionId
Set up the unique identifier of the conflicting metadata collection.- Parameters:
otherMetadataCollectionId
- guid
-
getOtherTypeDefSummary
Return the type information for the conflicting type.- Returns:
- typeDef summary
-
setOtherTypeDefSummary
Set up the type information for the conflicting type.- Parameters:
otherTypeDefSummary
- typeDef summary
-
getOtherTypeDef
Return the type information for the conflicting type.- Returns:
- typeDef
-
setOtherTypeDef
Set up the type information for the conflicting type.- Parameters:
otherTypeDef
- typeDef
-
getOtherAttributeTypeDef
Return the type information for the conflicting type.- Returns:
- attribute typeDef
-
setOtherAttributeTypeDef
Set up the type information for the conflicting type.- Parameters:
otherAttributeTypeDef
- typeDef
-
getOtherInstanceGUID
Return the unique identifier of the conflicting instance.- Returns:
- guid
-
setOtherInstanceGUID
Set up the unique identifier of the conflicting instance.- Parameters:
otherInstanceGUID
- guid
-
toString
JSON-style toString.
-