Enum Class DeleteSemantic
- All Implemented Interfaces:
Serializable
,Comparable<DeleteSemantic>
,Constable
DeleteSemantic defines the different types of delete for an entity
- HARD - Hard-delete strategy. Process and related metadata associated is deleted by purging it from the metadata repository. Deletion happens cascading down to data flows.
- SOFT - Soft-delete strategy. Process (and related metadata) will be not removed physically but flagged as 'inactive' or temporary deleted from repository (deleteEntity); Process (and related metadata) can be restored in case it is needed (restoreEntity).
- MEMENTO - Using Memento classification. Similarly to soft delete, process asset is classified as memento asset using memento classification.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of the delete semanticgetName()
Return the name of the delete semanticint
Return the numeric representation of the delete semantictoString()
static DeleteSemantic
Returns the enum constant of this class with the specified name.static DeleteSemantic[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOFT
-
HARD
-
MEMENTO
-
-
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 numeric representation of the delete semantic- Returns:
- String - numeric representation of the delete semantic
-
getName
Return the name of the delete semantic- Returns:
- String - name of the delete semantic
-
getDescription
Return the description of the delete semantic- Returns:
- String - description of the delete semantic
-
toString
- Overrides:
toString
in classEnum<DeleteSemantic>
-