|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.common.objects.ConnectorObject
public final class ConnectorObject
A ConnectorObject represents an object (e.g., an Account or a Group) on the target resource. Each ConnectorObject represents a resource object as a UID and a bag of attributes. The developer of a Connector will use a ConnectorObjectBuilder
to construct instances of ConnectorObject.
Constructor Summary | |
---|---|
ConnectorObject(ObjectClass objectClass, java.util.Set<? extends Attribute> set) Public only for serialization; please use ConnectorObjectBuilder . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj) |
Attribute |
getAttributeByName(java.lang.String name) Get an attribute by if it exists else null. |
java.util.Set<Attribute> |
getAttributes() Get the set of attributes that represent this object. |
Name |
getName() Gets the Name of the object. |
ObjectClass |
getObjectClass() Gets the ObjectClass for this object. |
Uid |
getUid() Get the native identifier for this object. |
int |
hashCode() |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectorObject(ObjectClass objectClass, java.util.Set<? extends Attribute> set)
ConnectorObjectBuilder
.
java.lang.IllegalArgumentException
- iff Name
or Uid
is missing from the set.Method Detail |
---|
public java.util.Set<Attribute> getAttributes()
Uid
and all OperationalAttributes
.public Attribute getAttributeByName(java.lang.String name)
public Uid getUid()
public Name getName()
Name
of the object.public ObjectClass getObjectClass()
ObjectClass
for this object.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |