Package com.atlassian.crowd.model.user
Class MinimalUser
java.lang.Object
com.atlassian.crowd.model.user.MinimalUser
- All Implemented Interfaces:
DirectoryEntity
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MinimalUser
-
-
Method Details
-
getDirectoryId
public long getDirectoryId()- Specified by:
getDirectoryIdin interfaceDirectoryEntity- Returns:
- id of the directory in which the DirectoryEntity is stored.
-
getName
- Specified by:
getNamein interfaceDirectoryEntity- Returns:
- name of the entity.
-
getId
public long getId() -
equals
Description copied from interface:DirectoryEntityImplementations must ensure equality based on getDirectoryId() and case-insensitive getName().- Specified by:
equalsin interfaceDirectoryEntity- Overrides:
equalsin classObject- Parameters:
obj- object to compare to.- Returns:
trueif and only if the directoryId and the lowercase names of the directory entities match.
-
hashCode
public int hashCode()Description copied from interface:DirectoryEntityImplementations must produce a hashcode based on getDirectoryId() and case-insensitive getName().- Specified by:
hashCodein interfaceDirectoryEntity- Overrides:
hashCodein classObject- Returns:
- hashcode.
-