public final class AccountGroup
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AccountGroup.Id
Synthetic key to link to within the database
|
static class |
AccountGroup.NameKey
Group name key
|
static class |
AccountGroup.UUID
Globally unique identifier.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description
A textual description of the group's purpose.
|
protected AccountGroup.Id |
groupId
Unique identity, to link entities as
name can change. |
protected AccountGroup.UUID |
groupUUID
Globally unique identifier name for this group.
|
protected AccountGroup.NameKey |
name
Unique name of this group within the system.
|
protected AccountGroup.UUID |
ownerGroupUUID
Identity of the group whose members can manage this group.
|
protected boolean |
visibleToAll |
Modifier | Constructor and Description |
---|---|
protected |
AccountGroup() |
|
AccountGroup(AccountGroup.NameKey newName,
AccountGroup.Id newId,
AccountGroup.UUID uuid) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
AccountGroup.UUID |
getGroupUUID() |
AccountGroup.Id |
getId() |
java.lang.String |
getName() |
AccountGroup.NameKey |
getNameKey() |
AccountGroup.UUID |
getOwnerGroupUUID() |
static boolean |
isInternalGroup(AccountGroup.UUID uuid) |
boolean |
isVisibleToAll() |
void |
setDescription(java.lang.String d) |
void |
setGroupUUID(AccountGroup.UUID uuid) |
void |
setNameKey(AccountGroup.NameKey nameKey) |
void |
setOwnerGroupUUID(AccountGroup.UUID uuid) |
void |
setVisibleToAll(boolean visibleToAll) |
protected AccountGroup.NameKey name
protected AccountGroup.Id groupId
name
can change.protected java.lang.String description
protected boolean visibleToAll
protected AccountGroup.UUID groupUUID
protected AccountGroup.UUID ownerGroupUUID
This can be a self-reference to indicate the group's members manage itself.
protected AccountGroup()
public AccountGroup(AccountGroup.NameKey newName, AccountGroup.Id newId, AccountGroup.UUID uuid)
public static boolean isInternalGroup(AccountGroup.UUID uuid)
public AccountGroup.Id getId()
public java.lang.String getName()
public AccountGroup.NameKey getNameKey()
public void setNameKey(AccountGroup.NameKey nameKey)
public java.lang.String getDescription()
public void setDescription(java.lang.String d)
public AccountGroup.UUID getOwnerGroupUUID()
public void setOwnerGroupUUID(AccountGroup.UUID uuid)
public void setVisibleToAll(boolean visibleToAll)
public boolean isVisibleToAll()
public AccountGroup.UUID getGroupUUID()
public void setGroupUUID(AccountGroup.UUID uuid)