com.atlassian.crowd.integration.model
Interface DirectoryEntity
- All Known Subinterfaces:
- Group, GroupWithAttributes, LDAPDirectoryEntity, User, UserWithAttributes
- All Known Implementing Classes:
- GroupTemplate, GroupTemplateWithAttributes, InternalDirectoryEntity, InternalGroup, InternalGroupWithAttributes, InternalUser, InternalUserWithAttributes, LDAPGroupWithAttributes, LDAPUserWithAttributes, UserTemplate, UserTemplateWithAttributes, UserTemplateWithCredentialAndAttributes
public interface DirectoryEntity
|
Method Summary |
boolean |
equals(java.lang.Object o)
Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName(). |
java.lang.Long |
getDirectoryId()
|
java.lang.String |
getName()
|
int |
hashCode()
Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName(). |
getDirectoryId
java.lang.Long getDirectoryId()
- Returns:
- id of the directory in which the DirectoryEntity is stored.
getName
java.lang.String getName()
- Returns:
- name of the entity.
equals
boolean equals(java.lang.Object o)
- Implementations must ensure equality based on
getDirectoryId() and case-insensitive getName().
- Overrides:
equals in class java.lang.Object
- Parameters:
o - object to compare to.
- Returns:
true if and only if the directoryId
and name.toLowerCase() of the directory entities match.
hashCode
int hashCode()
- Implementations must produce a hashcode based on
getDirectoryId() and case-insensitive getName().
- Overrides:
hashCode in class java.lang.Object
- Returns:
- hashcode.
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.