public class DefaultAsContextAwareConverter<S,T,C> extends java.lang.Object implements ContextAwareConverter<S,T,C>
ContextAwareConverter.| Constructor and Description |
|---|
DefaultAsContextAwareConverter() |
| Modifier and Type | Method and Description |
|---|---|
T |
convert(S source,
C context)
Converts the source object, creating a new instance of the destination type.
|
protected T |
createTarget() |
java.util.List<ContextAwarePopulator<S,T,C>> |
getPopulators() |
java.lang.Class<T> |
getTargetClass() |
void |
setPopulators(java.util.List<ContextAwarePopulator<S,T,C>> populators) |
void |
setTargetClass(java.lang.Class<T> targetClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAllpublic T convert(S source, C context)
ContextAwareConverterconvert in interface ContextAwareConverter<S,T,C>source - the source objectprotected T createTarget()
public java.lang.Class<T> getTargetClass()
public void setTargetClass(java.lang.Class<T> targetClass)
public java.util.List<ContextAwarePopulator<S,T,C>> getPopulators()
public void setPopulators(java.util.List<ContextAwarePopulator<S,T,C>> populators)
Copyright © 2018 SAP SE. All Rights Reserved.