org.jbpm.identity
Class Membership
java.lang.Object
org.jbpm.identity.Entity
org.jbpm.identity.Membership
- All Implemented Interfaces:
- Serializable
public class Membership
- extends Entity
one association between user and a group. The name of the membership
represents the role-name that the user fulfills in the group. A membership
can be a position in an organisation, therefore 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 play 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 String role
user
protected User user
group
protected Group group
Membership
public Membership()
create
public static Membership create(User user,
String role,
Group group)
create
public static Membership create(User user,
Group group)
setUser
public void setUser(User user)
setGroup
public void setGroup(Group group)
getGroup
public Group getGroup()
getUser
public User getUser()
getRole
public String getRole()
setRole
public void setRole(String role)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.