public class ObjectFieldValueTransformer extends UsesIntermediateObjectImpl implements FunctionTransformer
UsesIntermediateObject
EntityChainAccessTransformer
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected String |
fieldName |
intermediateResults, resultNamesUsed, resultsThatAreOptional
Constructor and Description |
---|
ObjectFieldValueTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getFieldName()
The name of the field to extract the value from the set Object
|
boolean |
isAllowNulls() |
void |
setAllowNulls(boolean allowNulls) |
void |
setFieldName(String fieldName)
The name of the field to extract the value from the set Object
|
Object |
transform(Object input)
Inherited
If #setIntermediateResult(Object) is used, then the transformation will use that and not the supplied value. |
determineInput, getInputFromContext, getInterMediateResults, getResultNamesThatAreOptional, getResultNamesUsed, setIntermediateResults, setResultNamesThatAreOptional, setResultNamesUsed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
protected String fieldName
public Object transform(Object input)
Inherited
#setIntermediateResult(Object)
is used, then the transformation will use that and not the supplied value.transform
in interface org.apache.commons.collections.Transformer
public String getFieldName()
public void setFieldName(String fieldName)
public boolean isAllowNulls()
public void setAllowNulls(boolean allowNulls)
Copyright © 2018. All rights reserved.