Class IntegerValueToFormattedString
- java.lang.Object
-
- de.gebit.integrity.parameter.conversion.Conversion<IntegerValue,T>
-
- de.gebit.integrity.parameter.conversion.conversions.integrity.numbers.AbstractIntegerValueToString<FormattedString>
-
- de.gebit.integrity.parameter.conversion.conversions.integrity.numbers.IntegerValueToFormattedString
-
public class IntegerValueToFormattedString extends AbstractIntegerValueToString<FormattedString>
A default Integrity conversion.- Author:
- Rene Schneider - initial API and implementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.gebit.integrity.parameter.conversion.Conversion
Conversion.Priority
-
-
Constructor Summary
Constructors Constructor Description IntegerValueToFormattedString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormattedString
convert(IntegerValue aSource, java.lang.Class<? extends FormattedString> aTargetType, ConversionContext aConversionContext)
Performs the conversion.-
Methods inherited from class de.gebit.integrity.parameter.conversion.conversions.integrity.numbers.AbstractIntegerValueToString
convertToFormattedString
-
Methods inherited from class de.gebit.integrity.parameter.conversion.Conversion
convertValueRecursive, convertValueToFormattedStringArrayRecursive, setVisitedObjects
-
-
-
-
Method Detail
-
convert
public FormattedString convert(IntegerValue aSource, java.lang.Class<? extends FormattedString> aTargetType, ConversionContext aConversionContext) throws ConversionFailedException
Description copied from class:Conversion
Performs the conversion.- Specified by:
convert
in classConversion<IntegerValue,FormattedString>
- Parameters:
aSource
- the source object to convertaTargetType
- TODOaConversionContext
- controls some conversion parameters and rules; may be null if the defaultConversionContext
values shall be used- Returns:
- the converted object
- Throws:
ConversionFailedException
- in case of conversion errors
-
-