Class ObjectClassInfoBuilder
java.lang.Object
org.identityconnectors.framework.common.objects.ObjectClassInfoBuilder
Simplifies the construction of
ObjectClassInfo instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd to theObjectClassInfothat is being built eachAttributeInfoin the specified collection.Add the specifiedAttributeInfoobject to theObjectClassInfothat is being built.build()Constructs an instance ofObjectClassInfowith any characteristics that were previously specified using this builder.voidsetAuxiliary(boolean isAuxiliary) voidsetContainer(boolean container) Set to true to indicate this is a container type.setEmbedded(boolean embedded) Sets the specifiedtypefor theObjectClassInfoobject that is being built.
-
Constructor Details
-
ObjectClassInfoBuilder
public ObjectClassInfoBuilder()
-
-
Method Details
-
setType
Sets the specifiedtypefor theObjectClassInfoobject that is being built. (If this method is not called, theObjectClassInfothat is being built will default toObjectClass.ACCOUNT_NAME-- that is, itstypewill default to to a String value ofObjectClass.ACCOUNT_NAME.)- See Also:
-
addAttributeInfo
Add the specifiedAttributeInfoobject to theObjectClassInfothat is being built. -
addAllAttributeInfo
Add to theObjectClassInfothat is being built eachAttributeInfoin the specified collection. -
setContainer
public void setContainer(boolean container) Set to true to indicate this is a container type.- Parameters:
container- True if this is a container type.
-
setAuxiliary
public void setAuxiliary(boolean isAuxiliary) -
setEmbedded
-
build
Constructs an instance ofObjectClassInfowith any characteristics that were previously specified using this builder.- Returns:
- an instance of
ObjectClassInfowith the characteristics previously specified.
-