Package com.aquima.interactions.flow
Class NodeType
java.lang.Object
com.aquima.interactions.flow.NodeType
- All Implemented Interfaces:
Serializable
This class defines the available node types of the flow engine.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NodeType
This member defines the static ACTION type.static final int
This member defines the static ACTION type id.static final NodeType
This member defines the static CONDITION type.static final int
This member defines the static CONDITION type id.static final NodeType
This member defines the static END type.static final int
This member defines the static END type id.static final NodeType
This member defines the static FLOW type.static final int
This member defines the static EVENT type id.static final NodeType
This member defines the static FLOW type.static final int
This member defines the static FLOW type id.static final NodeType
This member defines the static RESULT type.static final int
This member defines the static RESULT type id. -
Constructor Summary
-
Method Summary
-
Field Details
-
END_ID
public static final int END_IDThis member defines the static END type id.- See Also:
-
CONDITION_ID
public static final int CONDITION_IDThis member defines the static CONDITION type id.- See Also:
-
ACTION_ID
public static final int ACTION_IDThis member defines the static ACTION type id.- See Also:
-
RESULT_ID
public static final int RESULT_IDThis member defines the static RESULT type id.- See Also:
-
FLOW_ID
public static final int FLOW_IDThis member defines the static FLOW type id.- See Also:
-
EVENT_ID
public static final int EVENT_IDThis member defines the static EVENT type id.- See Also:
-
END
This member defines the static END type. -
CONDITION
This member defines the static CONDITION type. -
ACTION
This member defines the static ACTION type. -
RESULT
This member defines the static RESULT type. -
FLOW
This member defines the static FLOW type. -
EVENT
This member defines the static FLOW type.
-
-
Constructor Details
-
NodeType
-
-
Method Details
-
valueOf
This method can be used to lookup a NodeType of an id.- Parameters:
id
- integer containing the id of the node type that should be returned.- Returns:
- NodeType instance for the specified id.
-
getId
public int getId()This method returns the unique ID of the node type.- Returns:
- the unique ID of the node type.
-
getName
This method returns the unique name of the node type.- Returns:
- the unique name of the node type.
-
equals
-
hashCode
public int hashCode() -
toString
-