C
- The type of client managed object configuration that
this relation definition refers to.S
- The type of server managed object configuration that
this relation definition refers to.D
- The type of relation definition constructed by this
builder.protected abstract static class RelationDefinition.AbstractBuilder<C extends ConfigurationClient,S extends Configuration,D extends RelationDefinition<C,S>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
RelationDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> pd,
String name,
AbstractManagedObjectDefinition<C,S> cd)
Create a property definition builder.
|
Modifier and Type | Method and Description |
---|---|
protected abstract D |
buildInstance(RelationDefinition.Common<C,S> common)
Build a relation definition based on the properties of this
builder.
|
D |
getInstance()
Construct a relation definition based on the properties of this
builder.
|
void |
setOption(RelationOption option)
Add a relation definition option.
|
protected RelationDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> pd, String name, AbstractManagedObjectDefinition<C,S> cd)
pd
- The parent managed object definition.name
- The name of the relation.cd
- The child managed object definition.public final D getInstance()
public final void setOption(RelationOption option)
option
- The relation option.protected abstract D buildInstance(RelationDefinition.Common<C,S> common)
common
- The common fields of the new relation definition.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.