|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.framework.common.objects.ObjectClassInfoBuilder
public final class ObjectClassInfoBuilder
Simplifies the construction of ObjectClassInfo instances.
| Constructor Summary | |
|---|---|
ObjectClassInfoBuilder()
|
|
| Method Summary | |
|---|---|
ObjectClassInfoBuilder |
addAllAttributeInfo(Collection<AttributeInfo> c)
Add to the ObjectClassInfo that is being built each
AttributeInfo in the specified collection. |
ObjectClassInfoBuilder |
addAttributeInfo(AttributeInfo info)
Add the specified AttributeInfo object to the
ObjectClassInfo that is being built. |
ObjectClassInfo |
build()
Constructs an instance of ObjectClassInfo with any
characteristics that were previously specified using this builder. |
void |
setContainer(boolean container)
Set to true to indicate this is a container type. |
ObjectClassInfoBuilder |
setType(String type)
Sets the specified type for the
ObjectClassInfo object that is being built. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectClassInfoBuilder()
| Method Detail |
|---|
public ObjectClassInfoBuilder setType(String type)
type for the
ObjectClassInfo object that is being built. (If this method is
not called, the ObjectClassInfo that is being built will
default to ObjectClass.ACCOUNT_NAME -- that is, its
type will default to to a String value of
ObjectClass.ACCOUNT_NAME.)
ObjectClassInfo.getType(),
ObjectClass.ACCOUNT_NAMEpublic ObjectClassInfoBuilder addAttributeInfo(AttributeInfo info)
AttributeInfo object to the
ObjectClassInfo that is being built.
public ObjectClassInfoBuilder addAllAttributeInfo(Collection<AttributeInfo> c)
ObjectClassInfo that is being built each
AttributeInfo in the specified collection.
public void setContainer(boolean container)
container - True iff this is a container type.public ObjectClassInfo build()
ObjectClassInfo with any
characteristics that were previously specified using this builder.
ObjectClassInfo with the characteristics
previously specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||