Class AbstractBooleanValueToString<T>
java.lang.Object
de.gebit.integrity.parameter.conversion.Conversion<BooleanValue,T>
de.gebit.integrity.parameter.conversion.conversions.integrity.booleans.AbstractBooleanValueToString<T>
- Type Parameters:
T- the target type
- Direct Known Subclasses:
BooleanValueToFormattedString,BooleanValueToString
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected StringconvertToString(BooleanValue aSource, ConversionContext aConversionContext) Converts the givenBooleanvalue to a string.Methods inherited from class de.gebit.integrity.parameter.conversion.Conversion
convert, convertValueRecursive, convertValueToFormattedStringArrayRecursive, setVisitedObjects
-
Constructor Details
-
AbstractBooleanValueToString
public AbstractBooleanValueToString()
-
-
Method Details
-
convertToString
protected String convertToString(BooleanValue aSource, ConversionContext aConversionContext) throws ConversionFailedException Converts the givenBooleanvalue to a string.- Parameters:
aSource- the source valueaConversionContext- the conversion context- Returns:
- the resulting string
- Throws:
ConversionFailedException
-