Package org.bonitasoft.web.client.model
Class ActorMember
- java.lang.Object
-
- org.bonitasoft.web.client.model.ActorMember
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ActorMember extends Object implements Serializable
An actor member represents the association between the organization and the actor af a process. In an organization we have four member_types = USER, GROUP, ROLE and MEMBERSHIP (role in a group). You can assign a actor to a user by specifying a role and or a group, or specific user.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACTOR_IDstatic StringJSON_PROPERTY_GROUP_IDstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_ROLE_IDstatic StringJSON_PROPERTY_USER_ID
-
Constructor Summary
Constructors Constructor Description ActorMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActorMemberactorId(String actorId)booleanequals(Object o)StringgetActorId()id of the actor for this mappingStringgetGroupId()id of group, or -1 if the member type is not groupStringgetId()actor member idStringgetRoleId()id of role, or -1 if the member type is not roleStringgetUserId()id of user, or -1 if the member type is not userActorMembergroupId(String groupId)inthashCode()ActorMemberid(String id)ActorMemberroleId(String roleId)voidsetActorId(String actorId)voidsetGroupId(String groupId)voidsetId(String id)voidsetRoleId(String roleId)voidsetUserId(String userId)StringtoString()ActorMemberuserId(String userId)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACTOR_ID
public static final String JSON_PROPERTY_ACTOR_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE_ID
public static final String JSON_PROPERTY_ROLE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GROUP_ID
public static final String JSON_PROPERTY_GROUP_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USER_ID
public static final String JSON_PROPERTY_USER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ActorMember id(String id)
-
setId
public void setId(String id)
-
actorId
public ActorMember actorId(String actorId)
-
setActorId
public void setActorId(String actorId)
-
roleId
public ActorMember roleId(String roleId)
-
getRoleId
@Nullable public String getRoleId()
id of role, or -1 if the member type is not role- Returns:
- roleId
-
setRoleId
public void setRoleId(String roleId)
-
groupId
public ActorMember groupId(String groupId)
-
getGroupId
@Nullable public String getGroupId()
id of group, or -1 if the member type is not group- Returns:
- groupId
-
setGroupId
public void setGroupId(String groupId)
-
userId
public ActorMember userId(String userId)
-
getUserId
@Nullable public String getUserId()
id of user, or -1 if the member type is not user- Returns:
- userId
-
setUserId
public void setUserId(String userId)
-
-