public class GroupEntity extends Object implements GroupWithAttributes, Comparable<Group>
| Constructor and Description |
|---|
GroupEntity(String name,
String description,
GroupType type,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Group o) |
boolean |
equals(Object o) |
MultiValuedAttributeEntityList |
getAttributes() |
String |
getDescription() |
long |
getDirectoryId() |
String |
getExternalId() |
Set<String> |
getKeys() |
String |
getName() |
GroupType |
getType() |
String |
getValue(String key) |
Set<String> |
getValues(String key) |
int |
hashCode() |
boolean |
isActive() |
boolean |
isEmpty() |
static GroupEntity |
newMinimalInstance(String groupName)
Creates a new minimal group instance.
|
void |
setAttributes(MultiValuedAttributeEntityList attributes) |
String |
toString() |
public String getDescription()
getDescription in interface Grouppublic long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitypublic void setAttributes(MultiValuedAttributeEntityList attributes)
@Nullable public MultiValuedAttributeEntityList getAttributes()
@Nullable public String getExternalId()
getExternalId in interface Group@Nullable public Set<String> getValues(String key)
getValues in interface Attributes@Nullable public String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic int compareTo(Group o)
compareTo in interface Comparable<Group>public boolean equals(Object o)
equals in interface DirectoryEntityequals in class Objectpublic int hashCode()
hashCode in interface DirectoryEntityhashCode in class Objectpublic static GroupEntity newMinimalInstance(String groupName)
groupName - group nameCopyright © 2024 Atlassian. All rights reserved.