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
FieldsModifier and TypeFieldDescriptionstatic final intThis workflow-element implements Activity.static final StringName of property to hold this element's description.static final StringPrefix for properties to hold this element's language dependent description.sstatic final StringName of property to hold this element's name.static final StringPrefix for properties to hold this element's language dependent names.static final intThis workflow-element implements State.static final intThis workflow-element implements Transition. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the description from this workflow-element.@Nullable StringgetDescription(Language language) Returns the language dependant description from this workflow-element.@Nullable StringgetDisplayName(Language language) Returns the language dependant name from this workflow-element.longgetID()Provides the ID of this workflow element.getProperty(String key) Returns an property form this workflow-element.intgetType()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
-