|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.common.objects.EmbeddedObjectBuilder
public final class EmbeddedObjectBuilder
Builder class to create a EmbeddedObject
. The clients and the developer of a Connector will construct a EmbeddedObjectBuilder
, and then call the EmbeddedObjectBuilder
to add attributes, and then finally to build()
the actual EmbeddedObject
.
Constructor Summary | |
---|---|
EmbeddedObjectBuilder() |
Method Summary | |
---|---|
EmbeddedObjectBuilder |
add(EmbeddedObject obj) Takes all the attribute from a EmbeddedObject and add/overwrite the current attributes. |
EmbeddedObjectBuilder |
addAttribute(Attribute... attrs) Adds one or many attributes to the EmbeddedObject . |
EmbeddedObjectBuilder |
addAttribute(java.lang.String name, java.util.Collection<?> obj) Adds each object in the collection. |
EmbeddedObjectBuilder |
addAttribute(java.lang.String name, java.lang.Object... objs) Adds values to the attribute. |
EmbeddedObjectBuilder |
addAttributes(java.util.Collection<Attribute> attrs) Add all the Attribute s of a Collection . |
EmbeddedObject |
build() Builds a 'EmbeddedObject' based on the attributes provided. |
EmbeddedObjectBuilder |
setObjectClass(ObjectClass oclass) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedObjectBuilder()
Method Detail |
---|
public EmbeddedObjectBuilder setObjectClass(ObjectClass oclass)
public EmbeddedObjectBuilder add(EmbeddedObject obj)
EmbeddedObject
and add/overwrite the current attributes.public EmbeddedObjectBuilder addAttribute(Attribute... attrs)
EmbeddedObject
.public EmbeddedObjectBuilder addAttributes(java.util.Collection<Attribute> attrs)
Attribute
s of a Collection
.public EmbeddedObjectBuilder addAttribute(java.lang.String name, java.lang.Object... objs)
public EmbeddedObjectBuilder addAttribute(java.lang.String name, java.util.Collection<?> obj)
public EmbeddedObject build()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |