Enum Class ProcessConstants.DeltaScope
java.lang.Object
java.lang.Enum<ProcessConstants.DeltaScope>
de.aristaflow.adept2.model.globals.ProcessConstants.DeltaScope
- All Implemented Interfaces:
Serializable,Comparable<ProcessConstants.DeltaScope>,java.lang.constant.Constable
- Enclosing class:
- ProcessConstants
The scope for querying entities of the delta layer. One can distinguished
between new, deleted, changed or moved entities whereas not every scope is
valid for every entity. For instance, edges can not be moved. Queries with
invalid scopes may be ignored. Refer to the javadoc of the corresponding
methods for the valid delta scopes.
- See Also:
-
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 TypeMethodDescriptionintgetCode()static ProcessConstants.DeltaScopevalueOf(int code) Returns the enum constant of this class with the specified name.static ProcessConstants.DeltaScopeReturns the enum constant of this class with the specified name.static ProcessConstants.DeltaScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
Entities that are added by the delta layer. -
DELETED
Entities that are deleted by the delta layer. -
CHANGED
Entities that are changed by the delta layer. -
MOVED
Entities (nodes) that are moved by the delta layer.
-
-
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
-
getCode
public int getCode() -
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:
code- 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
-