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(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().
 

Method Detail

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 © 2010 Atlassian. All Rights Reserved.