Class ConnectorObject
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.ConnectorObject
-
public final class ConnectorObject extends Object
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 aConnectorObjectBuilderto construct instances of ConnectorObject.
-
-
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 booleanequals(Object obj)AttributegetAttributeByName(String name)Get an attribute by if it exists else null.Set<Attribute>getAttributes()Get the set of attributes that represent this object.NamegetName()Gets theNameof the object.ObjectClassgetObjectClass()Gets theObjectClassfor this object.UidgetUid()Get the native identifier for this object.inthashCode()StringtoString()
-
-
-
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
-
getAttributes
public Set<Attribute> getAttributes()
Get the set of attributes that represent this object. This includes theUidand allOperationalAttributes.
-
getAttributeByName
public Attribute getAttributeByName(String name)
Get an attribute by if it exists else null.
-
getUid
public Uid getUid()
Get the native identifier for this object.
-
getObjectClass
public ObjectClass getObjectClass()
Gets theObjectClassfor this object. This is the "structural" object class. The primary object class that defines basic object structure. It cannot be null.
-
-