Package com.atlassian.crowd.model
Interface DirectoryEntity
- All Known Subinterfaces:
Group,GroupWithAttributes,GroupWithMembers,InternalDirectoryGroup,TimestampedGroup,TimestampedUser,User,UserWithAttributes
- All Known Implementing Classes:
BaseImmutableGroup,BaseImmutableUser,ImmutableDirectoryGroup,ImmutableDirectoryGroupWithAttributes,ImmutableGroupWithAttributes,ImmutableTimestampedUser,ImmutableTimestampedUserWithAttributes,ImmutableUser,ImmutableUserWithAttributes
public interface DirectoryEntity
Represents a directory entity.
-
Method Details
-
getDirectoryId
long getDirectoryId()- Returns:
- id of the directory in which the DirectoryEntity is stored.
-
getName
String getName()- Returns:
- name of the entity.
-
equals
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName(). -
hashCode
int hashCode()Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName().
-