Skip navigation links


org.identityconnectors.framework.common.objects
Class QualifiedUid

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


public final class QualifiedUid
extends java.lang.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(java.lang.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
 java.lang.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(java.lang.Object o)
Returns true iff o is a QualifiedUid and the object class and uid match.
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hash code based on uid
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation acceptible for debugging.
Overrides:
toString in class java.lang.Object

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.