T - type of object to mappublic abstract class AbstractLdapEntryMapper<T> extends Object implements LdapEntryMapper<T>
ClassDescriptor for decoding and encoding of objects.| Modifier and Type | Field and Description |
|---|---|
protected Logger |
logger
Logger for this class.
|
| Constructor and Description |
|---|
AbstractLdapEntryMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ClassDescriptor |
getClassDescriptor(T object)
Returns the class descriptor.
|
void |
map(LdapEntry source,
T dest)
Injects data from the supplied ldap entry into the supplied destination object.
|
LdapEntry |
map(T source)
Injects data from the supplied source object into a new instance of ldap entry.
|
void |
map(T source,
LdapEntry dest)
Injects data from the supplied source object into the supplied ldap entry.
|
String |
mapDn(T object)
Returns the LDAP DN for the supplied object.
|
protected final Logger logger
protected abstract ClassDescriptor getClassDescriptor(T object)
object - to return the class descriptor forpublic String mapDn(T object)
LdapEntryMappermapDn in interface LdapEntryMapper<T>object - to retrieve the DN frompublic LdapEntry map(T source)
source - to read frompublic void map(T source, LdapEntry dest)
LdapEntryMappermap in interface LdapEntryMapper<T>source - to read fromdest - to write topublic void map(LdapEntry source, T dest)
LdapEntryMappermap in interface LdapEntryMapper<T>source - to read fromdest - to write toCopyright © 2003-2019 Virginia Tech. All Rights Reserved.