public class DelegatingUserWithAttributes extends AbstractDelegatingEntityWithAttributes implements UserWithAttributes
Instances of this class will be effectively immutable so long as either:
| Constructor and Description |
|---|
DelegatingUserWithAttributes(User user,
Attributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods
|
boolean |
equals(Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
long |
getDirectoryId() |
String |
getDisplayName() |
String |
getEmailAddress() |
String |
getName() |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
boolean |
isActive() |
getKeys, getValue, getValues, isEmptyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisMarkedAsDeletedgetKeys, getValue, getValues, isEmptypublic DelegatingUserWithAttributes(User user, Attributes attributes)
public long getDirectoryId()
getDirectoryId in interface Userpublic boolean isActive()
public String getEmailAddress()
getEmailAddress in interface Userpublic String getDisplayName()
getDisplayName in interface Userpublic int compareTo(User user)
UsercompareTo in interface UsercompareTo in interface Comparable<User>public boolean equals(Object o)
Userpublic int hashCode()
UserCopyright © 2024 Atlassian. All rights reserved.