|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.admin.DefaultBehaviorProvider<T>
org.opends.server.admin.AbsoluteInheritedDefaultBehaviorProvider<T>
T
- The type of values represented by this provider.public final class AbsoluteInheritedDefaultBehaviorProvider<T>
A default behavior provider which retrieves default values from a managed object in an absolute location. It should be used by properties which inherit their default value(s) from properties held in an other managed object.
Constructor Summary | |
---|---|
AbsoluteInheritedDefaultBehaviorProvider(java.lang.String pathString,
java.lang.String propertyName)
Create an absolute inherited default behavior provider associated with the managed object at the specified absolute location. |
Method Summary | ||
---|---|---|
|
accept(DefaultBehaviorProviderVisitor<T,R,P> v,
P p)
Apply a visitor to this default behavior provider. |
|
AbstractManagedObjectDefinition<?,?> |
getManagedObjectDefinition()
Get the definition of the parent managed object containing the inherited default values. |
|
ManagedObjectPath<?,?> |
getManagedObjectPath()
Get the absolute path of the managed object containing the property which has the default values. |
|
java.lang.String |
getPropertyName()
Gets the name of the property containing the inherited default values. |
|
protected void |
initialize()
Performs any run-time initialization required by this default behavior provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbsoluteInheritedDefaultBehaviorProvider(java.lang.String pathString, java.lang.String propertyName)
pathString
- The string representation of the managed object path
specifying the absolute location of the managed object.propertyName
- The name of the property containing the inherited
default values.Method Detail |
---|
public <R,P> R accept(DefaultBehaviorProviderVisitor<T,R,P> v, P p)
accept
in class DefaultBehaviorProvider<T>
R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The default behavior visitor.p
- Optional additional visitor parameter.
public AbstractManagedObjectDefinition<?,?> getManagedObjectDefinition()
public ManagedObjectPath<?,?> getManagedObjectPath()
public java.lang.String getPropertyName()
protected void initialize() throws java.lang.Exception
The default implementation is to do nothing.
initialize
in class DefaultBehaviorProvider<T>
java.lang.Exception
- If this default behavior provider could not be
initialized.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |