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

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

public class EntityIdentifier
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
EntityIdentifier(EntityType type, String name)
           
 
Method Summary
 boolean equals(Object o)
           
 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,
                        String name)
Method Detail

getName

public String getName()

getType

public EntityType getType()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Atlassian. All Rights Reserved.