public class ReferenceToStringTransformer extends Object implements org.apache.commons.collections.Transformer, Serializable
Reference to String| Constructor and Description |
|---|
ReferenceToStringTransformer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAutoConvertNonRefType()
If true will entertain non
Reference type as String using Object.toString()
This is useful when using common code for processing datasource data for Pure Reference type and non-ref alike. |
void |
setAutoConvertNonRefType(boolean autoConvertNonRefType)
If true will entertain non
Reference type as String using Object.toString()
This is useful when using common code for processing datasource data for Pure Reference type and non-ref alike. |
Object |
transform(Object input) |
public Object transform(Object input)
transform in interface org.apache.commons.collections.Transformerpublic boolean isAutoConvertNonRefType()
Reference type as String using Object.toString()
public void setAutoConvertNonRefType(boolean autoConvertNonRefType)
Reference type as String using Object.toString()
Copyright © 2018. All rights reserved.