public class Group
extends java.lang.Object
Constructor and Description |
---|
Group()
Default constructor.
|
Group(java.lang.String name,
java.lang.String description)
Constructor.
|
Group(java.lang.String name,
java.lang.String description,
boolean inheritingRoles)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Returns the description.
|
java.util.List<Group> |
getMemberGroups()
Returns the modifiable list of member groups.
|
java.util.List<User> |
getMemberUsers() |
java.lang.String |
getName()
Returns the display name.
|
boolean |
isInheritingRoles()
Indicates if the roles of the parent group should be inherited.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setInheritingRoles(boolean inheritingRoles)
Indicates if the roles of the parent group should be inherited.
|
void |
setMemberGroups(java.util.List<Group> memberGroups)
Sets the modifiable list of member groups.
|
void |
setMemberUsers(java.util.List<User> memberUsers)
Sets the modifiable list of member user references.
|
void |
setName(java.lang.String name)
Sets the display name.
|
java.lang.String |
toString() |
public Group()
public Group(java.lang.String name, java.lang.String description)
name
- The display name.description
- The description.public Group(java.lang.String name, java.lang.String description, boolean inheritingRoles)
name
- The display name.description
- The description.inheritingRoles
- Indicates if the roles of the parent group should be
inherited.public java.lang.String getDescription()
public java.util.List<Group> getMemberGroups()
public java.util.List<User> getMemberUsers()
public java.lang.String getName()
public boolean isInheritingRoles()
public void setDescription(java.lang.String description)
description
- The description.public void setInheritingRoles(boolean inheritingRoles)
inheritingRoles
- True if the roles of the parent group should be inherited.public void setMemberGroups(java.util.List<Group> memberGroups)
memberGroups
- A list of member groups.public void setMemberUsers(java.util.List<User> memberUsers)
memberUsers
- A list of member user references.public void setName(java.lang.String name)
name
- The display name.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2024 Restlet.