| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
groupId |
protected Set<String> |
members |
protected String |
name |
protected JaxbOrganization |
organization |
protected String |
role |
protected Set<JaxbRole> |
roles |
ROLE_PREFIX| Constructor and Description |
|---|
JaxbGroup()
No-arg constructor needed by JAXB
|
JaxbGroup(String groupId,
JaxbOrganization organization,
String name,
String description)
Constructs a group with the specified groupId, name, description and group role.
|
JaxbGroup(String groupId,
JaxbOrganization organization,
String name,
String description,
Set<JaxbRole> roles)
Constructs a group with the specified groupId, name, description, group role and roles.
|
JaxbGroup(String groupId,
JaxbOrganization organization,
String name,
String description,
Set<JaxbRole> roles,
Set<String> members)
Constructs a group with the specified groupId, name, description, group role and roles.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static JaxbGroup |
fromGroup(Group group) |
String |
getDescription()
Gets the role description.
|
String |
getGroupId()
Gets the group identifier.
|
Set<String> |
getMembers()
Gets the group members
|
String |
getName()
Gets the group name.
|
Organization |
getOrganization()
Gets the user's organization.
|
String |
getRole()
Gets the group role.
|
Set<Role> |
getRoles()
Gets the group's roles.
|
int |
hashCode() |
String |
toString() |
protected String groupId
protected JaxbOrganization organization
protected String name
protected String description
protected String role
public JaxbGroup()
public JaxbGroup(String groupId, JaxbOrganization organization, String name, String description)
groupId - the group idorganization - the organizationname - the namedescription - the descriptionpublic JaxbGroup(String groupId, JaxbOrganization organization, String name, String description, Set<JaxbRole> roles)
groupId - the group idorganization - the organizationname - the namedescription - the descriptionroles - the additional group rolespublic JaxbGroup(String groupId, JaxbOrganization organization, String name, String description, Set<JaxbRole> roles, Set<String> members)
groupId - the group idorganization - the organizationname - the namedescription - the descriptionroles - the additional group rolesmembers - the group memberspublic String getGroupId()
GroupgetGroupId in interface GroupGroup.getGroupId()public String getName()
GroupgetName in interface GroupGroup.getName()public Organization getOrganization()
GroupgetOrganization in interface GroupGroup.getOrganization()public String getDescription()
GroupgetDescription in interface GroupGroup.getDescription()public String getRole()
GroupgetRole in interface GroupGroup.getRole()public Set<String> getMembers()
GroupgetMembers in interface GroupGroup.getMembers()public Set<Role> getRoles()
GroupgetRoles in interface GroupGroup.getRoles()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2009–2021 Opencast Project. All rights reserved.