当前页面:
在线文档首页 >
JBoss JBPM 3.0.4 identity management component 英文版文档
Membership (jbpm-identity-3.0.4) - JBoss JBPM 3.0.4 identity management component 英文版文档
org.jbpm.identity
Class Membership
java.lang.Object
org.jbpm.identity.Entity
org.jbpm.identity.Membership
- All Implemented Interfaces:
- java.io.Serializable
- public class Membership
- extends Entity
- implements java.io.Serializable
one association between user and a group.
The name of the membership represents the role-name that
the user fullfills in the group.
A membership can be a position in an organisation, therefor
permissions can be associated with a membership.
The name of the membership can be used as the role name. Meaning
which role does the user fullfill in the group.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
role
protected java.lang.String role
user
protected User user
group
protected Group group
Membership
public Membership()
create
public static Membership create(User user,
java.lang.String name,
Group group)
create
public static Membership create(User user,
Group group)
setUser
public void setUser(User user)
setGroup
public void setGroup(Group group)
getId
public long getId()
- Overrides:
getId
in class Entity
getGroup
public Group getGroup()
getUser
public User getUser()
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
Version : jbpm-identity-3.0.4