com.silverpeas.workflow.engine.model
Class UserInRoleImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.AbstractReferrableObject
      extended by com.silverpeas.workflow.engine.model.UserInRoleImpl
All Implemented Interfaces:
UserInRole, ReferrableObjectIntf, Serializable

public class UserInRoleImpl
extends AbstractReferrableObject
implements UserInRole, Serializable

Class implementing the representation of the <userInRole> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
UserInRoleImpl()
          Constructor
 
Method Summary
 String getKey()
          This method has to be implemented by the referrable object it has to compute the unique key
 String getRoleName()
          Get name of the role
 void setRoleName(String roleName)
          Set name of the role
 
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

UserInRoleImpl

public UserInRoleImpl()
Constructor

Method Detail

getRoleName

public String getRoleName()
Get name of the role

Specified by:
getRoleName in interface UserInRole

setRoleName

public void setRoleName(String roleName)
Set name of the role

Specified by:
setRoleName in interface UserInRole
Parameters:
roleName -

getKey

public String getKey()
Description copied from class: AbstractReferrableObject
This method has to be implemented by the referrable object it has to compute the unique key

Specified by:
getKey in interface ReferrableObjectIntf
Specified by:
getKey in class AbstractReferrableObject
Returns:
The unique key.
See Also:
equals, hashCode


Copyright © 2016 Silverpeas. All Rights Reserved.