Enum OMRSInstanceEventType
- java.lang.Object
-
- java.lang.Enum<OMRSInstanceEventType>
-
- org.odpi.openmetadata.repositoryservices.events.OMRSInstanceEventType
-
- All Implemented Interfaces:
Serializable,Comparable<OMRSInstanceEventType>
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 Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the default description for the enum value.StringgetName()Return the string name used for messages that include the enum.intgetOrdinal()Return the int identifier used for indexing based on the enum.StringtoString()toString() JSON-stylestatic OMRSInstanceEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OMRSInstanceEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_INSTANCE_EVENT
public static final OMRSInstanceEventType UNKNOWN_INSTANCE_EVENT
-
NEW_ENTITY_EVENT
public static final OMRSInstanceEventType NEW_ENTITY_EVENT
-
UPDATED_ENTITY_EVENT
public static final OMRSInstanceEventType UPDATED_ENTITY_EVENT
-
UNDONE_ENTITY_EVENT
public static final OMRSInstanceEventType UNDONE_ENTITY_EVENT
-
CLASSIFIED_ENTITY_EVENT
public static final OMRSInstanceEventType CLASSIFIED_ENTITY_EVENT
-
DECLASSIFIED_ENTITY_EVENT
public static final OMRSInstanceEventType DECLASSIFIED_ENTITY_EVENT
-
RECLASSIFIED_ENTITY_EVENT
public static final OMRSInstanceEventType RECLASSIFIED_ENTITY_EVENT
-
DELETED_ENTITY_EVENT
public static final OMRSInstanceEventType DELETED_ENTITY_EVENT
-
PURGED_ENTITY_EVENT
public static final OMRSInstanceEventType PURGED_ENTITY_EVENT
-
RESTORED_ENTITY_EVENT
public static final OMRSInstanceEventType RESTORED_ENTITY_EVENT
-
RE_IDENTIFIED_ENTITY_EVENT
public static final OMRSInstanceEventType RE_IDENTIFIED_ENTITY_EVENT
-
RETYPED_ENTITY_EVENT
public static final OMRSInstanceEventType RETYPED_ENTITY_EVENT
-
RE_HOMED_ENTITY_EVENT
public static final OMRSInstanceEventType RE_HOMED_ENTITY_EVENT
-
REFRESH_ENTITY_REQUEST
public static final OMRSInstanceEventType REFRESH_ENTITY_REQUEST
-
REFRESHED_ENTITY_EVENT
public static final OMRSInstanceEventType REFRESHED_ENTITY_EVENT
-
NEW_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType NEW_RELATIONSHIP_EVENT
-
UPDATED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType UPDATED_RELATIONSHIP_EVENT
-
UNDONE_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType UNDONE_RELATIONSHIP_EVENT
-
DELETED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType DELETED_RELATIONSHIP_EVENT
-
PURGED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType PURGED_RELATIONSHIP_EVENT
-
RESTORED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType RESTORED_RELATIONSHIP_EVENT
-
RE_IDENTIFIED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType RE_IDENTIFIED_RELATIONSHIP_EVENT
-
RETYPED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType RETYPED_RELATIONSHIP_EVENT
-
RE_HOMED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType RE_HOMED_RELATIONSHIP_EVENT
-
REFRESH_RELATIONSHIP_REQUEST
public static final OMRSInstanceEventType REFRESH_RELATIONSHIP_REQUEST
-
REFRESHED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType REFRESHED_RELATIONSHIP_EVENT
-
BATCH_INSTANCES_EVENT
public static final OMRSInstanceEventType BATCH_INSTANCES_EVENT
-
DELETE_PURGED_ENTITY_EVENT
public static final OMRSInstanceEventType DELETE_PURGED_ENTITY_EVENT
-
DELETE_PURGED_RELATIONSHIP_EVENT
public static final OMRSInstanceEventType DELETE_PURGED_RELATIONSHIP_EVENT
-
INSTANCE_ERROR_EVENT
public static final OMRSInstanceEventType INSTANCE_ERROR_EVENT
-
-
Method Detail
-
values
public static OMRSInstanceEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OMRSInstanceEventType c : OMRSInstanceEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OMRSInstanceEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
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:
toStringin classEnum<OMRSInstanceEventType>- Returns:
- string description
-
-