com.atlassian.crowd.integration.model
Interface DirectoryEntity

All Known Subinterfaces:
User

public interface DirectoryEntity

Use for SOAP only. Class exists strictly to maintain Crowd 2.0.x compatibility.


Method Summary
 boolean equals(Object o)
          Implementations must ensure equality based on getDirectoryId() and case-insensitive getName().
 Long getDirectoryId()
           
 String getName()
           
 int hashCode()
          Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName().
 

Method Detail

getDirectoryId

Long getDirectoryId()
Returns:
id of the directory in which the DirectoryEntity is stored.

getName

String getName()
Returns:
name of the entity.

equals

boolean equals(Object o)
Implementations must ensure equality based on getDirectoryId() and case-insensitive getName().

Overrides:
equals in class Object
Parameters:
o - object to compare to.
Returns:
true if and only if the directoryId and lowercase of name (subject to the pre-configured locale) of the directory entities match.

hashCode

int hashCode()
Implementations must produce a hashcode based on getDirectoryId() and case-insensitive getName().

Overrides:
hashCode in class Object
Returns:
hashcode.


Copyright © 2013 Atlassian. All Rights Reserved.