public class MinimalUser extends Object implements DirectoryEntity
| Constructor and Description |
|---|
MinimalUser(long id,
long directoryId,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
|
long |
getDirectoryId() |
long |
getId() |
String |
getName() |
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
|
public MinimalUser(long id,
long directoryId,
String name)
public long getDirectoryId()
getDirectoryId in interface DirectoryEntitypublic String getName()
getName in interface DirectoryEntitypublic long getId()
public boolean equals(Object obj)
DirectoryEntityequals in interface DirectoryEntityequals in class Objectobj - object to compare to.true if and only if the directoryId
and the lowercase names of the directory entities match.public int hashCode()
DirectoryEntityhashCode in interface DirectoryEntityhashCode in class ObjectCopyright © 2020 Atlassian. All rights reserved.