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
public abstract class AbstractBooleanValueToString<T> extends Conversion<BooleanValue,T>
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 AbstractBooleanValueToString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
convertToString(BooleanValue aSource, ConversionContext aConversionContext)
Converts the givenBoolean
value to a string.-
Methods inherited from class de.gebit.integrity.parameter.conversion.Conversion
convert, convertValueRecursive, convertValueToFormattedStringArrayRecursive, setVisitedObjects
-
-
-
-
Method Detail
-
convertToString
protected java.lang.String convertToString(BooleanValue aSource, ConversionContext aConversionContext) throws ConversionFailedException
Converts the givenBoolean
value to a string.- Parameters:
aSource
- the source valueaConversionContext
- the conversion context- Returns:
- the resulting string
- Throws:
ConversionFailedException
-
-