com.atlassian.crowd.directory.cache.model
Class EntityIdentifier

java.lang.Object
  extended by com.atlassian.crowd.directory.cache.model.EntityIdentifier
All Implemented Interfaces:
java.io.Serializable

public class EntityIdentifier
extends java.lang.Object
implements java.io.Serializable

Uniquely identify an entity in Crowd based on the EntityType and name.

See Also:
Serialized Form

Constructor Summary
EntityIdentifier(EntityType type, java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 EntityType getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityIdentifier

public EntityIdentifier(EntityType type,
                        java.lang.String name)
Method Detail

getName

public java.lang.String getName()

getType

public EntityType getType()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010 Atlassian. All Rights Reserved.