Class ConnectorObject
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.BaseConnectorObject
-
- org.identityconnectors.framework.common.objects.ConnectorObject
-
public final class ConnectorObject extends BaseConnectorObject
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
ConnectorObjectBuilderto construct instances of ConnectorObject.
-
-
Field Summary
-
Fields inherited from class org.identityconnectors.framework.common.objects.BaseConnectorObject
attributeMap
-
-
Constructor Summary
Constructors Constructor Description ConnectorObject(ObjectClass objectClass, Set<? extends Attribute> attributes)Public only for serialization; please useConnectorObjectBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorObjectIdentificationgetIdentification()Returns the identification of this object.NamegetName()Gets theNameof the object.UidgetUid()Get the native identifier for this object.StringtoString()-
Methods inherited from class org.identityconnectors.framework.common.objects.BaseConnectorObject
equals, getAttributeByName, getAttributes, getObjectClass, hashCode
-
-
-
-
Constructor Detail
-
ConnectorObject
public ConnectorObject(ObjectClass objectClass, Set<? extends Attribute> attributes)
Public only for serialization; please useConnectorObjectBuilder.- Throws:
IllegalArgumentException- ifNameorUidis missing from the set.
-
-
Method Detail
-
getUid
public Uid getUid()
Get the native identifier for this object.
-
getIdentification
public ConnectorObjectIdentification getIdentification()
Description copied from class:BaseConnectorObjectReturns the identification of this object. For full objects it means providingNameandUidattributes. (We have no other way of telling what attributes are the identifiers.)- Specified by:
getIdentificationin classBaseConnectorObject
-
toString
public String toString()
- Overrides:
toStringin classBaseConnectorObject
-
-