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 ConstantsEnum ConstantDescription -
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
-
NEW_ENTITY_EVENT
-
UPDATED_ENTITY_EVENT
-
UNDONE_ENTITY_EVENT
-
CLASSIFIED_ENTITY_EVENT
-
DECLASSIFIED_ENTITY_EVENT
-
RECLASSIFIED_ENTITY_EVENT
-
DELETED_ENTITY_EVENT
-
PURGED_ENTITY_EVENT
-
RESTORED_ENTITY_EVENT
-
RE_IDENTIFIED_ENTITY_EVENT
-
RETYPED_ENTITY_EVENT
-
RE_HOMED_ENTITY_EVENT
-
REFRESH_ENTITY_REQUEST
-
REFRESHED_ENTITY_EVENT
-
NEW_RELATIONSHIP_EVENT
-
UPDATED_RELATIONSHIP_EVENT
-
UNDONE_RELATIONSHIP_EVENT
-
DELETED_RELATIONSHIP_EVENT
-
PURGED_RELATIONSHIP_EVENT
-
RESTORED_RELATIONSHIP_EVENT
-
RE_IDENTIFIED_RELATIONSHIP_EVENT
-
RETYPED_RELATIONSHIP_EVENT
-
RE_HOMED_RELATIONSHIP_EVENT
-
REFRESH_RELATIONSHIP_REQUEST
-
REFRESHED_RELATIONSHIP_EVENT
-
BATCH_INSTANCES_EVENT
-
DELETE_PURGED_ENTITY_EVENT
-
DELETE_PURGED_RELATIONSHIP_EVENT
-
INSTANCE_ERROR_EVENT
-
-
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
-