public class BigIntegerToPrimitiveConversion extends SimpleConversion
BigInteger and native number types.| Constructor and Description |
|---|
BigIntegerToPrimitiveConversion(Class<?> targetType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFromConversionString(String targetReference,
ConversionContext conversionContext)
Creates the conversion string from target to source.
|
String |
getToConversionString(String sourceReference,
ConversionContext conversionContext)
Returns the conversion string from source to target.
|
from, topublic BigIntegerToPrimitiveConversion(Class<?> targetType)
public String getToConversionString(String sourceReference, ConversionContext conversionContext)
SimpleConversiongetToConversionString in class SimpleConversionsourceReference - A reference to the source object, e.g.
beanName.getFoo().conversionContext - ConversionContext providing optional information required for creating
the conversion.public String getFromConversionString(String targetReference, ConversionContext conversionContext)
SimpleConversiongetFromConversionString in class SimpleConversiontargetReference - A reference to the targetReference object, e.g.
beanName.getFoo().conversionContext - ConversionContext providing optional information required for creating
the conversion.Copyright © 2012-2014. All Rights Reserved.