|
||||||||||
| 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 name| Method Detail |
|---|
public String getDescription(String role,
String language)
getDescription in interface Participantlang - description's languagerole - role for which the description is
public ContextualDesignations getDescriptions()
Participant
getDescriptions in interface Participantpublic void addDescription(ContextualDesignation description)
Participant
addDescription in interface Participantpublic Iterator<ContextualDesignation> iterateDescription()
Participant
iterateDescription in interface Participantpublic ContextualDesignation createDesignation()
Participant
createDesignation in interface Participant
public String getLabel(String role,
String language)
getLabel in interface Participantlang - label's languagerole - role for which the label is
public ContextualDesignations getLabels()
Participant
getLabels in interface Participantpublic void addLabel(ContextualDesignation label)
Participant
addLabel in interface Participantpublic Iterator<ContextualDesignation> iterateLabel()
Participant
iterateLabel in interface Participantpublic String getName()
getName in interface Participantpublic String getResolvedState()
getResolvedState in interface Participantpublic void setName(String name)
Participant
setName in interface Participantpublic void setResolvedState(String resolvedState)
Participant
setResolvedState in interface Participantpublic String getKey()
getKey in interface ReferrableObjectIntfgetKey in class AbstractReferrableObjectequals,
hashCode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||