Class ObjectClassInfoBuilder
- java.lang.Object
 - 
- org.identityconnectors.framework.common.objects.ObjectClassInfoBuilder
 
 
- 
public final class ObjectClassInfoBuilder extends java.lang.ObjectSimplifies the construction ofObjectClassInfoinstances. 
- 
- 
Constructor Summary
Constructors Constructor Description ObjectClassInfoBuilder() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectClassInfoBuilderaddAllAttributeInfo(java.util.Collection<AttributeInfo> c)Add to theObjectClassInfothat is being built eachAttributeInfoin the specified collection.ObjectClassInfoBuilderaddAttributeInfo(AttributeInfo info)Add the specifiedAttributeInfoobject to theObjectClassInfothat is being built.ObjectClassInfobuild()Constructs an instance ofObjectClassInfowith any characteristics that were previously specified using this builder.voidsetContainer(boolean container)Set to true to indicate this is a container type.ObjectClassInfoBuildersetType(java.lang.String type)Sets the specifiedtypefor theObjectClassInfoobject that is being built. 
 - 
 
- 
- 
Method Detail
- 
setType
public ObjectClassInfoBuilder setType(java.lang.String type)
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.) 
- 
addAttributeInfo
public ObjectClassInfoBuilder addAttributeInfo(AttributeInfo info)
Add the specifiedAttributeInfoobject to theObjectClassInfothat is being built. 
- 
addAllAttributeInfo
public ObjectClassInfoBuilder addAllAttributeInfo(java.util.Collection<AttributeInfo> c)
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.
 
- 
build
public ObjectClassInfo build()
Constructs an instance ofObjectClassInfowith any characteristics that were previously specified using this builder.- Returns:
 - an instance of 
ObjectClassInfowith the characteristics previously specified. 
 
 - 
 
 -