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.public final class SetRelationDefinition<C extends ConfigurationClient,S extends Configuration> extends RelationDefinition<C,S>
| Modifier and Type | Class and Description |
|---|---|
static class |
SetRelationDefinition.Builder<C extends ConfigurationClient,S extends Configuration>
An interface for incrementally constructing set relation definitions.
|
RelationDefinition.AbstractBuilder<C extends ConfigurationClient,S extends Configuration,D extends RelationDefinition<C,S>>, RelationDefinition.Common<C extends ConfigurationClient,S extends Configuration>| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(RelationDefinitionVisitor<R,P> v,
P p)
Apply a visitor to this relation definition.
|
DefaultManagedObject<? extends C,? extends S> |
getDefaultManagedObject(String name)
Gets the named default managed object associated with this set relation
definition.
|
Set<String> |
getDefaultManagedObjectNames()
Gets the names of the default managed objects associated with this set
relation definition.
|
String |
getPluralName()
Gets the plural name of the relation.
|
LocalizableMessage |
getUserFriendlyPluralName()
Gets the user friendly plural name of this relation definition in the
default locale.
|
LocalizableMessage |
getUserFriendlyPluralName(Locale locale)
Gets the user friendly plural name of this relation definition in the
specified locale.
|
protected void |
initialize()
Performs any run-time initialization required by this relation
definition.
|
void |
toString(StringBuilder builder)
Append a string representation of the managed object relation to the
provided string builder.
|
getChildDefinition, getDescription, getDescription, getName, getParentDefinition, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, hasOption, toStringpublic <R,P> R accept(RelationDefinitionVisitor<R,P> v, P p)
accept in class RelationDefinition<C extends ConfigurationClient,S extends Configuration>R - The return type of the visitor's methods.P - The type of the additional parameters to the visitor's
methods.v - The relation definition visitor.p - Optional additional visitor parameter.public DefaultManagedObject<? extends C,? extends S> getDefaultManagedObject(String name)
name - The name of the default managed object (for set relations this
is the type of the default managed object).IllegalArgumentException - If there is no default managed object associated with the
provided name.public Set<String> getDefaultManagedObjectNames()
public String getPluralName()
public LocalizableMessage getUserFriendlyPluralName()
public LocalizableMessage getUserFriendlyPluralName(Locale locale)
locale - The locale.public void toString(StringBuilder builder)
toString in class RelationDefinition<C extends ConfigurationClient,S extends Configuration>builder - The string builder where the string representation should be
appended.protected void initialize() throws Exception
initialize in class RelationDefinition<C extends ConfigurationClient,S extends Configuration>Exception - If this relation definition could not be initialized.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.