Package com.atlassian.crowd.embedded.api
Interface Group
- All Superinterfaces:
Comparable<Group>
- All Known Subinterfaces:
GroupWithAttributes
- All Known Implementing Classes:
DelegatingGroupWithAttributes
,ImmutableGroup
Represents a group.
-
Method Summary
-
Method Details
-
getName
String getName()- Returns:
- name of the group.
-
equals
Implementations must ensure equality based on case-insensitive getName(). -
hashCode
int hashCode()Implementations must produce a hash-code based on case-insensitive getName(). -
compareTo
CompareTo must be compatible with the equals() and hashCode() methods- Specified by:
compareTo
in interfaceComparable<Group>
- Parameters:
o
- the object to be compared.- Returns:
- a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-