Enum Class OMRSInstanceEventType
java.lang.Object
java.lang.Enum<OMRSInstanceEventType>
org.odpi.openmetadata.repositoryservices.events.OMRSInstanceEventType
- All Implemented Interfaces:
Serializable
,Comparable<OMRSInstanceEventType>
,Constable
OMRSInstanceEventType defines the different types of instance events in the open metadata repository services
protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe local repository is passing a batch of instances to the other repositories in the cohort.A new classification has been added to an entity.A classification has been removed from an entity.An existing active entity has been permanently removed from the repository.An existing active relationship has been permanently removed from the repository.An existing entity has been deleted.An existing relationship has been deleted.An error has been detected in the exchange of instances between members of the cohort.A new entity has been created.A new relationship has been created.A deleted entity has been permanently removed from the repository.A deleted relationship has been permanently removed from the repository.An existing entity has changed home repository.An existing relationship has changed home repository.The guid of an existing entity has been changed to a new value.The guid of an existing relationship has changed.An existing classification has been changed on an entity.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.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.A remote repository in the cohort has sent entity details in response to a refresh request.The local repository is refreshing the information about a relationship for the other repositories in the cohort.A deleted entity has been restored to the state it was before it was deleted.A deleted relationship has been restored to the state it was before it was deleted.An existing entity has had its type changed.An existing relationship has had its type changed.An update to an entity has been undone.An earlier change to a relationship has been undone.An event that is not recognized by the local server.An existing entity has been updated.An existing relationship has been updated. -
Method Summary
Modifier and TypeMethodDescriptionReturn the default description for the enum value.getName()
Return the string name used for messages that include the enum.int
Return the int identifier used for indexing based on the enum.toString()
toString() JSON-stylestatic OMRSInstanceEventType
Returns the enum constant of this class with the specified name.static OMRSInstanceEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_INSTANCE_EVENT
An event that is not recognized by the local server. -
NEW_ENTITY_EVENT
A new entity has been created. -
UPDATED_ENTITY_EVENT
An existing entity has been updated. -
UNDONE_ENTITY_EVENT
An update to an entity has been undone. -
CLASSIFIED_ENTITY_EVENT
A new classification has been added to an entity. -
DECLASSIFIED_ENTITY_EVENT
A classification has been removed from an entity. -
RECLASSIFIED_ENTITY_EVENT
An existing classification has been changed on an entity. -
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
A deleted entity has been permanently removed from the repository. This request can not be undone. -
RESTORED_ENTITY_EVENT
A deleted entity has been restored to the state it was before it was deleted. -
RE_IDENTIFIED_ENTITY_EVENT
The guid of an existing entity has been changed to a new value. -
RETYPED_ENTITY_EVENT
An existing entity has had its type changed. -
RE_HOMED_ENTITY_EVENT
An existing entity has changed home repository. -
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
A remote repository in the cohort has sent entity details in response to a refresh request. -
NEW_RELATIONSHIP_EVENT
A new relationship has been created. -
UPDATED_RELATIONSHIP_EVENT
An existing relationship has been updated. -
UNDONE_RELATIONSHIP_EVENT
An earlier change to a relationship has been undone. -
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
A deleted relationship has been permanently removed from the repository. This request can not be undone. -
RESTORED_RELATIONSHIP_EVENT
A deleted relationship has been restored to the state it was before it was deleted. -
RE_IDENTIFIED_RELATIONSHIP_EVENT
The guid of an existing relationship has changed. -
RETYPED_RELATIONSHIP_EVENT
An existing relationship has had its type changed. -
RE_HOMED_RELATIONSHIP_EVENT
An existing relationship has changed home repository. -
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
The local repository is refreshing the information about a relationship for the other repositories in the cohort. -
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
An existing active entity has been permanently removed from the repository. This request can not be undone. -
DELETE_PURGED_RELATIONSHIP_EVENT
An existing active relationship has been permanently removed from the repository. This request can not be undone. -
INSTANCE_ERROR_EVENT
An error has been detected in the exchange of instances between members of the cohort.
-
-
Method Details
-
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
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 nameNullPointerException
- 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
Return the string name used for messages that include the enum.- Returns:
- String name
-
getDescription
Return the default description for the enum value. This is used when natural resource bundle is not available.- Returns:
- String default description
-
toString
toString() JSON-style- Overrides:
toString
in classEnum<OMRSInstanceEventType>
- Returns:
- string description
-