E - as type of EntityV - as type of value to be set in the entity by the mapper@Deprecated public class ProcessFieldMapperBehavior<E,V> extends ModeAwareMapperBehavior
AbstractEntityTransformer#setEntity().AbstractEntityTransformer.init(),
AbstractEntityTransformer#setEntity()| Constructor and Description |
|---|
ProcessFieldMapperBehavior()
Deprecated.
|
ProcessFieldMapperBehavior(List<Mode> modesSupported)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate<V> |
getPredicate()
Deprecated.
If the
Predicate.test(Object) is true then process(E, V) should be calledIf null will only process if value passed to this is not null. |
org.apache.commons.collections.Transformer |
getProcessor()
Deprecated.
If the
Predicate.test(Object) is true then process(E, V) should be calledIf null will only process if value passed to this is not null. |
void |
process(E entity,
V value)
Deprecated.
|
void |
setPredicate(Predicate<V> predicate)
Deprecated.
If the
Predicate.test(Object) is true then process(E, V) should be calledIf null will only process if value passed to this is not null. |
void |
setProcessor(org.apache.commons.collections.Transformer processor)
Deprecated.
If the
Predicate.test(Object) is true then process(E, V) should be calledIf null will only process if value passed to this is not null. |
getMode, getModesSupported, invokeMapper, setMode, setModesSupportedpublic void process(E entity, V value)
entity - as The entity to process or initialize for the field-value we want to set in it.value - as the value to set once processing is done.public org.apache.commons.collections.Transformer getProcessor()
Predicate.test(Object) is true then process(E, V) should be calledpublic void setProcessor(org.apache.commons.collections.Transformer processor)
Predicate.test(Object) is true then process(E, V) should be calledpublic Predicate<V> getPredicate()
Predicate.test(Object) is true then process(E, V) should be calledpublic void setPredicate(Predicate<V> predicate)
Predicate.test(Object) is true then process(E, V) should be calledCopyright © 2018. All rights reserved.