|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.model.ParticipantImpl
public class ParticipantImpl
Class implementing the representation of the <participant> element of a Process Model.
Constructor Summary | |
---|---|
ParticipantImpl()
Constructor |
|
ParticipantImpl(String name)
Constructor |
Method Summary | |
---|---|
void |
addDescription(ContextualDesignation description)
Add a description Method needed primarily by Castor |
void |
addLabel(ContextualDesignation label)
Add a label Method needed primarily by Castor |
ContextualDesignation |
createDesignation()
Create an object implementing ContextualDesignation Method needed primarily by Castor |
String |
getDescription(String role,
String language)
Get description in specific language for the given role |
ContextualDesignations |
getDescriptions()
Get all the descriptions |
String |
getKey()
Get the unique key, used by equals method |
String |
getLabel(String role,
String language)
Get label in specific language for the given role |
ContextualDesignations |
getLabels()
Get all the labels |
String |
getName()
Get the name of this participant |
String |
getResolvedState()
Get the state that defined participant has resolved |
Iterator<ContextualDesignation> |
iterateDescription()
Iterate through the descriptions |
Iterator<ContextualDesignation> |
iterateLabel()
Iterate through the Labels |
void |
setName(String name)
Set the name of this participant |
void |
setResolvedState(String resolvedState)
Set state that defined participant has resolved resolvedState state that defined participant has resolved |
Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParticipantImpl()
public ParticipantImpl(String name)
name
- participant nameMethod Detail |
---|
public String getDescription(String role, String language)
getDescription
in interface Participant
lang
- description's languagerole
- role for which the description is
public ContextualDesignations getDescriptions()
Participant
getDescriptions
in interface Participant
public void addDescription(ContextualDesignation description)
Participant
addDescription
in interface Participant
public Iterator<ContextualDesignation> iterateDescription()
Participant
iterateDescription
in interface Participant
public ContextualDesignation createDesignation()
Participant
createDesignation
in interface Participant
public String getLabel(String role, String language)
getLabel
in interface Participant
lang
- label's languagerole
- role for which the label is
public ContextualDesignations getLabels()
Participant
getLabels
in interface Participant
public void addLabel(ContextualDesignation label)
Participant
addLabel
in interface Participant
public Iterator<ContextualDesignation> iterateLabel()
Participant
iterateLabel
in interface Participant
public String getName()
getName
in interface Participant
public String getResolvedState()
getResolvedState
in interface Participant
public void setName(String name)
Participant
setName
in interface Participant
public void setResolvedState(String resolvedState)
Participant
setResolvedState
in interface Participant
public String getKey()
getKey
in interface ReferrableObjectIntf
getKey
in class AbstractReferrableObject
equals
,
hashCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |