org.identityconnectors.framework.common.objects
Class QualifiedUid

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.QualifiedUid

public final class QualifiedUid
extends Object

A fully-qualified uid. That is, a pair of ObjectClass and Uid.


Constructor Summary
QualifiedUid(ObjectClass objectClass, Uid uid)
          Create a QualifiedUid.
 
Method Summary
 boolean equals(Object o)
          Returns true iff o is a QualifiedUid and the object class and uid match.
 ObjectClass getObjectClass()
          Returns the object class.
 Uid getUid()
          Returns the uid.
 int hashCode()
          Returns a hash code based on uid
 String toString()
          Returns a string representation acceptible for debugging.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QualifiedUid

public QualifiedUid(ObjectClass objectClass,
                    Uid uid)
Create a QualifiedUid.

Parameters:
objectClass - The object class. May not be null.
uid - The uid. May not be null.
Method Detail

getObjectClass

public ObjectClass getObjectClass()
Returns the object class.

Returns:
The object class.

getUid

public Uid getUid()
Returns the uid.

Returns:
The uid.

equals

public boolean equals(Object o)
Returns true iff o is a QualifiedUid and the object class and uid match.

Overrides:
equals in class Object

hashCode

public int hashCode()
Returns a hash code based on uid

Overrides:
hashCode in class Object

toString

public String toString()
Returns a string representation acceptible for debugging.

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.