Enum Class OMRSInstanceEventType

java.lang.Object
java.lang.Enum<OMRSInstanceEventType>
org.odpi.openmetadata.repositoryservices.events.OMRSInstanceEventType
All Implemented Interfaces:
Serializable, Comparable<OMRSInstanceEventType>, Constable

public enum OMRSInstanceEventType extends Enum<OMRSInstanceEventType> implements Serializable
OMRSInstanceEventType defines the different types of instance events in the open metadata repository services protocol.
  • Enum Constant Details

    • UNKNOWN_INSTANCE_EVENT

      public static final OMRSInstanceEventType UNKNOWN_INSTANCE_EVENT
      An event that is not recognized by the local server.
    • NEW_ENTITY_EVENT

      public static final OMRSInstanceEventType NEW_ENTITY_EVENT
      A new entity has been created.
    • UPDATED_ENTITY_EVENT

      public static final OMRSInstanceEventType UPDATED_ENTITY_EVENT
      An existing entity has been updated.
    • UNDONE_ENTITY_EVENT

      public static final OMRSInstanceEventType UNDONE_ENTITY_EVENT
      An update to an entity has been undone.
    • CLASSIFIED_ENTITY_EVENT

      public static final OMRSInstanceEventType CLASSIFIED_ENTITY_EVENT
      A new classification has been added to an entity.
    • DECLASSIFIED_ENTITY_EVENT

      public static final OMRSInstanceEventType DECLASSIFIED_ENTITY_EVENT
      A classification has been removed from an entity.
    • RECLASSIFIED_ENTITY_EVENT

      public static final OMRSInstanceEventType RECLASSIFIED_ENTITY_EVENT
      An existing classification has been changed on an entity.
    • DELETED_ENTITY_EVENT

      public static final OMRSInstanceEventType DELETED_ENTITY_EVENT
      An existing entity has been deleted. This is a soft delete. This means it is still in the repository but it is no longer returned on queries.
    • PURGED_ENTITY_EVENT

      public static final OMRSInstanceEventType PURGED_ENTITY_EVENT
      A deleted entity has been permanently removed from the repository. This request can not be undone.
    • RESTORED_ENTITY_EVENT

      public static final OMRSInstanceEventType RESTORED_ENTITY_EVENT
      A deleted entity has been restored to the state it was before it was deleted.
    • RE_IDENTIFIED_ENTITY_EVENT

      public static final OMRSInstanceEventType RE_IDENTIFIED_ENTITY_EVENT
      The guid of an existing entity has been changed to a new value.
    • RETYPED_ENTITY_EVENT

      public static final OMRSInstanceEventType RETYPED_ENTITY_EVENT
      An existing entity has had its type changed.
    • RE_HOMED_ENTITY_EVENT

      public static final OMRSInstanceEventType RE_HOMED_ENTITY_EVENT
      An existing entity has changed home repository.
    • REFRESH_ENTITY_REQUEST

      public static final OMRSInstanceEventType REFRESH_ENTITY_REQUEST
      The local repository is requesting that an entity from another repository's metadata collection is refreshed so the local repository can create a reference copy.
    • REFRESHED_ENTITY_EVENT

      public static final OMRSInstanceEventType REFRESHED_ENTITY_EVENT
      A remote repository in the cohort has sent entity details in response to a refresh request.
    • NEW_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType NEW_RELATIONSHIP_EVENT
      A new relationship has been created.
    • UPDATED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType UPDATED_RELATIONSHIP_EVENT
      An existing relationship has been updated.
    • UNDONE_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType UNDONE_RELATIONSHIP_EVENT
      An earlier change to a relationship has been undone.
    • DELETED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType DELETED_RELATIONSHIP_EVENT
      An existing relationship has been deleted. This is a soft delete. This means it is still in the repository but it is no longer returned on queries.
    • PURGED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType PURGED_RELATIONSHIP_EVENT
      A deleted relationship has been permanently removed from the repository. This request can not be undone.
    • RESTORED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType RESTORED_RELATIONSHIP_EVENT
      A deleted relationship has been restored to the state it was before it was deleted.
    • RE_IDENTIFIED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType RE_IDENTIFIED_RELATIONSHIP_EVENT
      The guid of an existing relationship has changed.
    • RETYPED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType RETYPED_RELATIONSHIP_EVENT
      An existing relationship has had its type changed.
    • RE_HOMED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType RE_HOMED_RELATIONSHIP_EVENT
      An existing relationship has changed home repository.
    • REFRESH_RELATIONSHIP_REQUEST

      public static final OMRSInstanceEventType REFRESH_RELATIONSHIP_REQUEST
      A repository has requested the home repository of a relationship send details of the relationship so the local repository can create a reference copy of the instance.
    • REFRESHED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType REFRESHED_RELATIONSHIP_EVENT
      The local repository is refreshing the information about a relationship for the other repositories in the cohort.
    • BATCH_INSTANCES_EVENT

      public static final OMRSInstanceEventType BATCH_INSTANCES_EVENT
      The local repository is passing a batch of instances to the other repositories in the cohort. They may be new, or updated and include instances originating from different repositories.
    • DELETE_PURGED_ENTITY_EVENT

      public static final OMRSInstanceEventType DELETE_PURGED_ENTITY_EVENT
      An existing active entity has been permanently removed from the repository. This request can not be undone.
    • DELETE_PURGED_RELATIONSHIP_EVENT

      public static final OMRSInstanceEventType DELETE_PURGED_RELATIONSHIP_EVENT
      An existing active relationship has been permanently removed from the repository. This request can not be undone.
    • INSTANCE_ERROR_EVENT

      public static final OMRSInstanceEventType INSTANCE_ERROR_EVENT
      An error has been detected in the exchange of instances between members of the cohort.
  • Method Details

    • values

      public static OMRSInstanceEventType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OMRSInstanceEventType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getOrdinal

      public int getOrdinal()
      Return the int identifier used for indexing based on the enum.
      Returns:
      int identifier code
    • getName

      public String getName()
      Return the string name used for messages that include the enum.
      Returns:
      String name
    • getDescription

      public String getDescription()
      Return the default description for the enum value. This is used when natural resource bundle is not available.
      Returns:
      String default description
    • toString

      public String toString()
      toString() JSON-style
      Overrides:
      toString in class Enum<OMRSInstanceEventType>
      Returns:
      string description