Class RelatedUserImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.model.RelatedUserImpl
-
- All Implemented Interfaces:
Serializable,RelatedUser
public class RelatedUserImpl extends Object implements RelatedUser, Serializable
Class implementing the representation of the <relatedUser> element of a Process Model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelatedUserImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ItemgetFolderItem()Get the referred itemParticipantgetParticipant()Get the referred participantStringgetRelation()Get the relation between user and participantStringgetRole()Get the role to which the related user will be affectedinthashCode()voidsetFolderItem(Item folderItem)Set the referred itemvoidsetParticipant(Participant participant)Set the referred participantvoidsetRelation(String relation)Set the relation between user and participantvoidsetRole(String role)Set the role to which the related user will be affected
-
-
-
Method Detail
-
getParticipant
public Participant getParticipant()
Get the referred participant- Specified by:
getParticipantin interfaceRelatedUser- Returns:
- Participant object
-
setParticipant
public void setParticipant(Participant participant)
Description copied from interface:RelatedUserSet the referred participant- Specified by:
setParticipantin interfaceRelatedUser- Parameters:
participant- Participant object
-
getFolderItem
public Item getFolderItem()
Get the referred item- Specified by:
getFolderItemin interfaceRelatedUser
-
setFolderItem
public void setFolderItem(Item folderItem)
Set the referred item- Specified by:
setFolderItemin interfaceRelatedUser- Parameters:
folderItem- item to refer
-
getRelation
public String getRelation()
Get the relation between user and participant- Specified by:
getRelationin interfaceRelatedUser- Returns:
- relation, if null get the participant himself instead of searching related user
-
setRelation
public void setRelation(String relation)
Set the relation between user and participant- Specified by:
setRelationin interfaceRelatedUser- Parameters:
relation- relation as a String
-
getRole
public String getRole()
Get the role to which the related user will be affected- Specified by:
getRolein interfaceRelatedUser- Returns:
- the role name
-
setRole
public void setRole(String role)
Set the role to which the related user will be affected- Specified by:
setRolein interfaceRelatedUser- Parameters:
role- role as a String
-
-