Enum ProcessConstants.DataEdgeProperty
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.DataEdgeProperty>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.DataEdgeProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.DataEdgeProperty>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.DataEdgeProperty extends Enum<ProcessConstants.DataEdgeProperty>
Properties / attributes of data edges.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPTIONAL
If the access by the data edge is optional,DataEdge.isOptional()
.TYPE
The type of the data edge,ActivityConstants.AccessType
/DataEdge.getType()
.USER_ATTRIBUTE
The user attributes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
static ProcessConstants.DataEdgeProperty
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.DataEdgeProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.DataEdgeProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE
public static final ProcessConstants.DataEdgeProperty TYPE
The type of the data edge,ActivityConstants.AccessType
/DataEdge.getType()
.
-
OPTIONAL
public static final ProcessConstants.DataEdgeProperty OPTIONAL
If the access by the data edge is optional,DataEdge.isOptional()
.
-
USER_ATTRIBUTE
public static final ProcessConstants.DataEdgeProperty USER_ATTRIBUTE
The user attributes.
-
-
Method Detail
-
values
public static ProcessConstants.DataEdgeProperty[] 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 (ProcessConstants.DataEdgeProperty c : ProcessConstants.DataEdgeProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessConstants.DataEdgeProperty 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
-
getCode
public int getCode()
-
valueOf
public static ProcessConstants.DataEdgeProperty valueOf(int code)
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:
code
- 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
-
-