Class ConnectorObjectBuilder
java.lang.Object
org.identityconnectors.framework.common.objects.ConnectorObjectBuilder
Builder class to create a
ConnectorObject.
The developer of a Connector will construct a ConnectorObjectBuilder, and then call the ConnectorObjectBuilder to set
a Uid, add attributes, and then finally to build() the actual ConnectorObject.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(ConnectorObject obj) Takes all the attribute from aConnectorObjectand add/overwrite the current attributes.addAttribute(String name, Object... objs) Adds values to the attribute.addAttribute(String name, Collection<?> obj) Adds each object in the collection.addAttribute(Attribute... attrs) Adds one or many attributes to theConnectorObject.addAttributes(Collection<Attribute> attrs) Add all theAttributes of aCollection.build()Builds a 'ConnectorObject' based on the attributes and Uid provided.setObjectClass(ObjectClass oclass)
-
Constructor Details
-
ConnectorObjectBuilder
public ConnectorObjectBuilder()
-
-
Method Details
-
setUid
-
setUid
-
setName
-
setName
-
setObjectClass
-
add
Takes all the attribute from aConnectorObjectand add/overwrite the current attributes. -
addAttribute
Adds one or many attributes to theConnectorObject. -
addAttributes
Add all theAttributes of aCollection. -
addAttribute
Adds values to the attribute. -
addAttribute
Adds each object in the collection. -
build
Builds a 'ConnectorObject' based on the attributes and Uid provided. -
buildIdentification
-