Package org.forgerock.opendj.config
Class DefaultManagedObject<C extends ConfigurationClient,S extends Configuration>
java.lang.Object
org.forgerock.opendj.config.DefaultManagedObject<C,S>
- Type Parameters:
C- The type of client default managed object configuration.S- The type of server default managed object configuration.
- All Implemented Interfaces:
PropertyProvider
public final class DefaultManagedObject<C extends ConfigurationClient,S extends Configuration>
extends Object
implements PropertyProvider
A default managed object which should be created when a parent managed object
is created. Default managed objects are associated with a
RelationDefinition.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefaultManagedObject.Builder<C extends ConfigurationClient,S extends Configuration> An interface for incrementally constructing default managed objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the managed object definition associated with this default managed object.<T> SortedSet<ValueOrExpression<T>>Gets a mutable copy of the set of property values for the specified property.
-
Method Details
-
getManagedObjectDefinition
Gets the managed object definition associated with this default managed object.- Returns:
- Returns the managed object definition associated with this default managed object.
-
getPropertyValues
Gets a mutable copy of the set of property values for the specified property.- Specified by:
getPropertyValuesin interfacePropertyProvider- Type Parameters:
T- The type of the property to be retrieved.- Parameters:
pd- The property to be retrieved.- Returns:
- Returns a newly allocated set containing a copy of the property's values. An empty set indicates that the property has no values defined and any default behavior is applicable.
- Throws:
IllegalArgumentException- If the property definition is not associated with this managed object's definition.
-