Interface WorkflowElement
- All Known Subinterfaces:
Activity
,State
,Transition
public interface WorkflowElement
This interface represents an workflow-element from an workflow.
- Since:
- 3.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
This workflow-element implements Activity.static final String
Name of property to hold this element's description.static final String
Prefix for properties to hold this element's language dependent description.sstatic final String
Name of property to hold this element's name.static final String
Prefix for properties to hold this element's language dependent names.static final int
This workflow-element implements State.static final int
This workflow-element implements Transition. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Returns the description from this workflow-element.@Nullable String
getDescription
(Language language) Returns the language dependant description from this workflow-element.@Nullable String
getDisplayName
(Language language) Returns the language dependant name from this workflow-element.long
getID()
Provides the ID of this workflow element.getProperty
(String key) Returns an property form this workflow-element.int
getType()
Returns the type of this workflow-element.getUid()
Returns the unique identifier of this workflow-element.Returns the workflow this workflow-element belongs to.
-
Field Details
-
PROPERTY_NAME
Name of property to hold this element's name.- Since:
- 3.0
- See Also:
-
PROPERTY_NAME_LANGUAGE
Prefix for properties to hold this element's language dependent names.- Since:
- 4.2.9
- See Also:
-
PROPERTY_DESCRIPTION
Name of property to hold this element's description.- Since:
- 3.0
- See Also:
-
PROPERTY_DESCRIPTION_LANGUAGE
Prefix for properties to hold this element's language dependent description.s- Since:
- 4.2.9
- See Also:
-
ACTIVITY
static final int ACTIVITYThis workflow-element implements Activity.- Since:
- 3.0
- See Also:
-
STATE
static final int STATEThis workflow-element implements State.- Since:
- 3.0
- See Also:
-
TRANSITION
static final int TRANSITIONThis workflow-element implements Transition.- Since:
- 3.0
- See Also:
-
-
Method Details
-
getID
long getID()Provides the ID of this workflow element.- Returns:
- the unique id for this workflow-element.
- Since:
- 3.0
-
getUid
String getUid()Returns the unique identifier of this workflow-element.- Returns:
- the uid of this TemplateSet
- Since:
- 4.2.12
-
getDisplayName
Returns the language dependant name from this workflow-element.- Returns:
- the name as a String or null if the language dependant name is not defined
- Since:
- 4.2.9
-
getDescription
Returns the description from this workflow-element.- Returns:
- the description or null if theres no description.
- Since:
- 3.0
-
getDescription
Returns the language dependant description from this workflow-element.- Returns:
- the description or null if theres no language dependant description.
- Since:
- 4.2.9
-
getType
int getType()- Returns:
- the type.
- Since:
- 3.0
-
getProperty
Returns an property form this workflow-element.- Returns:
- an object that represents this protperty.
- Since:
- 3.0
-
getWorkflow
Workflow getWorkflow()Returns the workflow this workflow-element belongs to.- Returns:
- the workflow.
- Since:
- 3.0
-