Interface Participant
-
- All Known Implementing Classes:
ParticipantImpl
public interface Participant
Interface describing a representation of the <participant> element of a Process Model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription(String role, String language)
Get description in specific language for the given roleContextualDesignations
getDescriptions()
Get all the descriptionsString
getLabel(String role, String language)
Get label in specific language for the given roleContextualDesignations
getLabels()
Get all the labelsString
getName()
Get the name of this participantString
getResolvedState()
Get the state that defined participant has resolvedvoid
setName(String name)
Set the name of this participantvoid
setResolvedState(String resolvedState)
Set state that defined participant has resolved resolvedState state that defined participant has resolved
-
-
-
Method Detail
-
getName
String getName()
Get the name of this participant- Returns:
- participant's name
-
setName
void setName(String name)
Set the name of this participant- Parameters:
name
- participant's name
-
getDescription
String getDescription(String role, String language)
Get description in specific language for the given role- Parameters:
language
- description's languagerole
- role for which the description is- Returns:
- wanted description as a String object. If description is not found, search description with given role and default language, if not found again, return the default description in given language, if not found again, return the default description in default language, if not found again, return empty string.
-
getDescriptions
ContextualDesignations getDescriptions()
Get all the descriptions- Returns:
- an object containing the collection of the descriptions
-
getLabel
String getLabel(String role, String language)
Get label in specific language for the given role- Parameters:
language
- label's languagerole
- role for which the label is- Returns:
- wanted label as a String object. If label is not found, search label with given role and default language, if not found again, return the default label in given language, if not found again, return the default label in default language, if not found again, return empty string.
-
getLabels
ContextualDesignations getLabels()
Get all the labels- Returns:
- an object containing the collection of the labels
-
getResolvedState
String getResolvedState()
Get the state that defined participant has resolved- Returns:
- state that defined participant has resolved
-
setResolvedState
void setResolvedState(String resolvedState)
Set state that defined participant has resolved resolvedState state that defined participant has resolved
-
-