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
ConnectorObjectBuilder
to 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 ConnectorObjectIdentification
getIdentification()
Returns the identification of this object.Name
getName()
Gets theName
of the object.Uid
getUid()
Get the native identifier for this object.String
toString()
-
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
- ifName
orUid
is 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:BaseConnectorObject
Returns the identification of this object. For full objects it means providingName
andUid
attributes. (We have no other way of telling what attributes are the identifiers.)- Specified by:
getIdentification
in classBaseConnectorObject
-
toString
public String toString()
- Overrides:
toString
in classBaseConnectorObject
-
-