Class OMRSEventV1ErrorSection

java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.v1.OMRSEventV1ErrorSection
All Implemented Interfaces:
Serializable

public class OMRSEventV1ErrorSection extends Object implements Serializable
OMRSEventV1ErrorSection describes the properties used to record errors detected by one of the members of the open metadata repository cohort.
See Also:
  • Constructor Details

    • OMRSEventV1ErrorSection

      public OMRSEventV1ErrorSection()
      Default constructor
  • Method Details

    • getErrorCode

      public OMRSEventErrorCode getErrorCode()
      Return the reason for the error.
      Returns:
      enum
    • setErrorCode

      public void setErrorCode(OMRSEventErrorCode errorCode)
      Set up the reason for the error.
      Parameters:
      errorCode - enum
    • getErrorMessage

      public String getErrorMessage()
      Return the message associated with the error. It details the elements in trouble.
      Returns:
      text message
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      Set up the message associated with the error. It details the elements in trouble.
      Parameters:
      errorMessage - text message
    • getTargetMetadataCollectionId

      public String getTargetMetadataCollectionId()
      Return the identifier of the metadata collection nominated to resolve the error.
      Returns:
      guid
    • setTargetMetadataCollectionId

      public void setTargetMetadataCollectionId(String targetMetadataCollectionId)
      Set up the identifier of the metadata collection nominated to resolve the error.
      Parameters:
      targetMetadataCollectionId - guid
    • getTargetRemoteConnection

      public Connection getTargetRemoteConnection()
      Return the remote collection that has an issue.
      Returns:
      connection
    • setTargetRemoteConnection

      public void setTargetRemoteConnection(Connection targetRemoteConnection)
      Set up the remote collection that has an issue.
      Parameters:
      targetRemoteConnection - connection
    • getTargetTypeDefSummary

      public TypeDefSummary getTargetTypeDefSummary()
      Return details of the type in trouble.
      Returns:
      typeDef summary
    • setTargetTypeDefSummary

      public void setTargetTypeDefSummary(TypeDefSummary targetTypeDefSummary)
      Set up details of the type in trouble.
      Parameters:
      targetTypeDefSummary - typeDef summary
    • getTargetAttributeTypeDef

      public AttributeTypeDef getTargetAttributeTypeDef()
      Return details of the attribute type in trouble.
      Returns:
      attribute typeDef
    • setTargetAttributeTypeDef

      public void setTargetAttributeTypeDef(AttributeTypeDef targetAttributeTypeDef)
      Set up details of the attribute type in trouble.
      Parameters:
      targetAttributeTypeDef - attribute typeDef
    • getTargetInstanceGUID

      public String getTargetInstanceGUID()
      Return the unique identifier for the instance in trouble.
      Returns:
      guid
    • setTargetInstanceGUID

      public void setTargetInstanceGUID(String targetInstanceGUID)
      Set up the unique identifier for the instance in trouble.
      Parameters:
      targetInstanceGUID - guid
    • getOtherOrigin

      public InstanceProvenanceType getOtherOrigin()
      Return the provenance type of the conflicting metadata collection.
      Returns:
      enum
    • setOtherOrigin

      public void setOtherOrigin(InstanceProvenanceType otherOrigin)
      Set up the provenance type of the conflicting metadata collection.
      Parameters:
      otherOrigin - enum
    • getOtherMetadataCollectionId

      public String getOtherMetadataCollectionId()
      Return the unique identifier of the conflicting metadata collection.
      Returns:
      guid
    • setOtherMetadataCollectionId

      public void setOtherMetadataCollectionId(String otherMetadataCollectionId)
      Set up the unique identifier of the conflicting metadata collection.
      Parameters:
      otherMetadataCollectionId - guid
    • getOtherTypeDefSummary

      public TypeDefSummary getOtherTypeDefSummary()
      Return the type information for the conflicting type.
      Returns:
      typeDef summary
    • setOtherTypeDefSummary

      public void setOtherTypeDefSummary(TypeDefSummary otherTypeDefSummary)
      Set up the type information for the conflicting type.
      Parameters:
      otherTypeDefSummary - typeDef summary
    • getOtherTypeDef

      public TypeDef getOtherTypeDef()
      Return the type information for the conflicting type.
      Returns:
      typeDef
    • setOtherTypeDef

      public void setOtherTypeDef(TypeDef otherTypeDef)
      Set up the type information for the conflicting type.
      Parameters:
      otherTypeDef - typeDef
    • getOtherAttributeTypeDef

      public AttributeTypeDef getOtherAttributeTypeDef()
      Return the type information for the conflicting type.
      Returns:
      attribute typeDef
    • setOtherAttributeTypeDef

      public void setOtherAttributeTypeDef(AttributeTypeDef otherAttributeTypeDef)
      Set up the type information for the conflicting type.
      Parameters:
      otherAttributeTypeDef - typeDef
    • getOtherInstanceGUID

      public String getOtherInstanceGUID()
      Return the unique identifier of the conflicting instance.
      Returns:
      guid
    • setOtherInstanceGUID

      public void setOtherInstanceGUID(String otherInstanceGUID)
      Set up the unique identifier of the conflicting instance.
      Parameters:
      otherInstanceGUID - guid
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.