|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.RelationDefinition.AbstractBuilder<C,S,D>
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>>
An interface for incrementally constructing relation definitions.
Constructor Summary | |
---|---|
protected |
RelationDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> pd,
java.lang.String name,
AbstractManagedObjectDefinition<C,S> cd)
Create a property definition builder. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RelationDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> pd, java.lang.String name, AbstractManagedObjectDefinition<C,S> cd)
pd
- The parent managed object definition.name
- The name of the relation.cd
- The child managed object definition.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |