Enum ProcessConstants.EdgeProperty
- java.lang.Object
-
- java.lang.Enum<ProcessConstants.EdgeProperty>
-
- de.aristaflow.adept2.model.globals.ProcessConstants.EdgeProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<ProcessConstants.EdgeProperty>
- Enclosing class:
- ProcessConstants
public static enum ProcessConstants.EdgeProperty extends Enum<ProcessConstants.EdgeProperty>
Enum for properties / attributes of Edge.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EDGE_CODE
The edge code,Edge.getEdgeCode()
.TYPE
The type of the edge,ProcessConstants.EdgeType
/Edge.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.EdgeProperty
valueOf(int code)
Returns the enum constant of this type with the specified name.static ProcessConstants.EdgeProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProcessConstants.EdgeProperty[]
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.EdgeProperty TYPE
The type of the edge,ProcessConstants.EdgeType
/Edge.getType()
.
-
EDGE_CODE
public static final ProcessConstants.EdgeProperty EDGE_CODE
The edge code,Edge.getEdgeCode()
.
-
USER_ATTRIBUTE
public static final ProcessConstants.EdgeProperty USER_ATTRIBUTE
The user attributes.
-
-
Method Detail
-
values
public static ProcessConstants.EdgeProperty[] 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.EdgeProperty c : ProcessConstants.EdgeProperty.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.EdgeProperty 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.EdgeProperty 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
-
-