Package org.forgerock.opendj.config
Class LdapProfile.Wrapper
java.lang.Object
org.forgerock.opendj.config.LdapProfile.Wrapper
- Enclosing class:
- LdapProfile
LDAP profile wrappers can be used to provide temporary LDAP profile
information for components which do not have LDAP profile property files.
These components are typically "mock" components used in unit-tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributeName
(AbstractManagedObjectDefinition<?, ?> d, PropertyDefinition<?> pd) Get the name of the LDAP attribute associated with the specified property definition.Get the principle object class associated with the specifiedset relation,Gets the LDAP RDN attribute type for child entries of an instantiable relation.Get an LDAP RDN sequence associated with a relation.
-
Constructor Details
-
Wrapper
protected Wrapper()Default constructor.
-
-
Method Details
-
getAttributeName
Get the name of the LDAP attribute associated with the specified property definition.The default implementation of this method is to return
null
.- Parameters:
d
- The managed object definition.pd
- The property definition.- Returns:
- Returns the name of the LDAP attribute associated with the specified property definition,
or
null
if the property definition is not handled by this LDAP profile wrapper.
-
getRelationChildRdnType
Gets the LDAP RDN attribute type for child entries of an instantiable relation.The default implementation of this method is to return
null
.- Parameters:
r
- The instantiable relation.- Returns:
- Returns the LDAP RDN attribute type for child entries of an instantiable relation,
or
null
if the instantiable relation is not handled by this LDAP profile wrapper.
-
getObjectClass
Get the principle object class associated with the specifiedset relation,The default implementation of this method is to return
null
.- Parameters:
d
- The managed object definition.- Returns:
- Returns the principle object class associated with the specified definition,
or
null
if the managed object definition is not handled by this LDAP profile wrapper.
-
getRelationRdnSequence
Get an LDAP RDN sequence associated with a relation.The default implementation of this method is to return
null
.- Parameters:
r
- The relation.- Returns:
- Returns the LDAP RDN sequence associated with a relation,
or
null
if the relation is not handled by this LDAP profile wrapper.
-