Class ConnectorObject
java.lang.Object
org.identityconnectors.framework.common.objects.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
ConstructorDescriptionConnectorObject
(ObjectClass objectClass, Set<? extends Attribute> set) Public only for serialization; please useConnectorObjectBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAttributeByName
(String name) Get an attribute by if it exists else null.Get the set of attributes that represent this object.getName()
Gets theName
of the object.Gets theObjectClass
for this object.getUid()
Get the native identifier for this object.int
hashCode()
toString()
-
Constructor Details
-
ConnectorObject
Public only for serialization; please useConnectorObjectBuilder
.- Throws:
IllegalArgumentException
- ifName
orUid
is missing from the set.
-
-
Method Details
-
getAttributes
Get the set of attributes that represent this object. This includes theUid
and allOperationalAttributes
. -
getAttributeByName
Get an attribute by if it exists else null. -
getUid
Get the native identifier for this object. -
getName
Gets theName
of the object. -
getObjectClass
Gets theObjectClass
for this object. -
equals
-
hashCode
public int hashCode() -
toString
-