Package org.forgerock.opendj.rest2ldap
Class AbstractReverseResourceReferencePropertyMapper<T extends AbstractReverseResourceReferencePropertyMapper<T>>
java.lang.Object
org.forgerock.opendj.rest2ldap.PropertyMapper
org.forgerock.opendj.rest2ldap.AbstractReverseResourceReferencePropertyMapper<T>
- Type Parameters:
T
- the class of this property mapper
public abstract class AbstractReverseResourceReferencePropertyMapper<T extends AbstractReverseResourceReferencePropertyMapper<T>>
extends PropertyMapper
A property mapper which provides a mapping from a JSON value to a DN valued LDAP attribute in another resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionisMultiValued
(boolean multiValued) Sets this property mapper to be multi-valued or not.abstract T
searchFilter
(String filter) Sets the filter which should be used when searching for referenced LDAP entries.abstract T
searchFilter
(Filter filter) Sets the filter which should be used when searching for referenced LDAP entries.
-
Constructor Details
-
AbstractReverseResourceReferencePropertyMapper
public AbstractReverseResourceReferencePropertyMapper()
-
-
Method Details
-
isMultiValued
Sets this property mapper to be multi-valued or not.- Parameters:
multiValued
- whether this property mapper is multi-valued- Returns:
- this property mapper
-
searchFilter
Sets the filter which should be used when searching for referenced LDAP entries. The default is(objectClass=*)
.- Parameters:
filter
- The filter which should be used when searching for referenced LDAP entries.- Returns:
- This property mapper.
-
searchFilter
Sets the filter which should be used when searching for referenced LDAP entries. The default is(objectClass=*)
.- Parameters:
filter
- The filter which should be used when searching for referenced LDAP entries.- Returns:
- This property mapper.
-