public class InternalGroupWithAttributes extends EntityWithAttributes implements GroupWithAttributes
Constructor and Description |
---|
InternalGroupWithAttributes(InternalGroup group) |
InternalGroupWithAttributes(InternalGroup group,
Map<String,Set<String>> attributes) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Group o) |
boolean |
equals(Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
String |
getDescription() |
long |
getDirectoryId() |
String |
getExternalId()
This will return
null for directories which do not support external ids |
InternalGroup |
getInternalGroup() |
String |
getName() |
GroupType |
getType() |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isActive() |
String |
toString() |
getKeys, getValue, getValues, isEmpty
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKeys, getValue, getValues, isEmpty
public InternalGroupWithAttributes(InternalGroup group)
public InternalGroupWithAttributes(InternalGroup group, Map<String,Set<String>> attributes)
public long getDirectoryId()
getDirectoryId
in interface DirectoryEntity
public String getName()
getName
in interface DirectoryEntity
public GroupType getType()
public boolean isActive()
public String getDescription()
getDescription
in interface Group
null
if there is no description.@Nullable public String getExternalId()
Group
null
for directories which do not support external idsgetExternalId
in interface Group
null
it there is no external idpublic InternalGroup getInternalGroup()
public boolean equals(Object o)
DirectoryEntity
equals
in interface DirectoryEntity
equals
in class Object
o
- object to compare to.true
if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntity
hashCode
in interface DirectoryEntity
hashCode
in class Object
public int compareTo(Group o)
compareTo
in interface Comparable<Group>
public String toString()
toString
in class EntityWithAttributes
Copyright © 2020 Atlassian. All rights reserved.