public class DelegatingGroupWithAttributes extends AbstractDelegatingEntityWithAttributes implements GroupWithAttributes
Instances of this class will be effectively immutable so long as either:
| Constructor and Description |
|---|
DelegatingGroupWithAttributes(Group group,
Attributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Group group)
CompareTo must be compatible with the equals() and hashCode() methods
|
boolean |
equals(Object o)
Implementations must ensure equality based on case-insensitive getName().
|
String |
getName() |
int |
hashCode()
Implementations must produce a hash-code based on case-insensitive getName().
|
getKeys, getValue, getValues, isEmptyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetKeys, getValue, getValues, isEmptypublic DelegatingGroupWithAttributes(Group group, Attributes attributes)
public String getName()
public int compareTo(Group group)
GroupcompareTo in interface GroupcompareTo in interface Comparable<Group>group - the object to be compared.public boolean equals(Object o)
GroupCopyright © 2023 Atlassian. All rights reserved.