Package org.bremersee.ldaptive
Class LdaptiveEntryImmutableMapper<T>
java.lang.Object
org.bremersee.ldaptive.LdaptiveEntryImmutableMapper<T>
- Type Parameters:
T- the type of the immutable domain object
- All Implemented Interfaces:
LdaptiveEntryMapper<T>,org.ldaptive.beans.LdapEntryMapper<T>
public abstract class LdaptiveEntryImmutableMapper<T>
extends Object
implements LdaptiveEntryMapper<T>
The ldaptive entry immutable mapper.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new ldaptive entry immutable mapper. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bremersee.ldaptive.LdaptiveEntryMapper
getBinaryAttributeNames, getMappedAttributeNames, getObjectClasses, map, map, mapAndComputeModifications, mapAndComputeModifyRequest, mapDn
-
Constructor Details
-
LdaptiveEntryImmutableMapper
protected LdaptiveEntryImmutableMapper()Instantiates a new ldaptive entry immutable mapper.
-
-
Method Details
-
map
This method is in this context illegal. It always throws anUnsupportedOperationException. We need the method to keep this mapper backwards compatible withLdaptiveEntryMapperthat is used inLdaptiveOperations.findOne(SearchRequest, LdaptiveEntryMapper)andLdaptiveOperations.findAll(SearchRequest, LdaptiveEntryMapper).Be aware, that this mapper isn't anymore compatible to
LdapEntryMapperfor the given reason.- Specified by:
mapin interfaceorg.ldaptive.beans.LdapEntryMapper<T>- Specified by:
mapin interfaceLdaptiveEntryMapper<T>- Parameters:
source- the ldap entryimmutable- the immutable- Throws:
UnsupportedOperationException- always
-