public abstract class LegacyVariableConverter<S,T> extends BaseValueConverter<S,T>
These converters are only needed before the server has run the DB migration to simplify the gear data types.
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
acceptsSourceValue(Object value)
Returns true if the converter knows how to convert the given source value to the target type. 
 | 
boolean | 
acceptsTargetValue(Object value)
Returns true if the converter knows how to convert the given target value to the source type. 
 | 
acceptsTargetType, convertToSourceType, convertToTargetType, getNamepublic boolean acceptsSourceValue(Object value)
ValueConverterReturns true if the converter knows how to convert the given source value to the target type.
acceptsSourceValue in interface ValueConverter<S,T>acceptsSourceValue in class BaseValueConverter<S,T>value - the candidate source valuepublic boolean acceptsTargetValue(Object value)
ValueConverterReturns true if the converter knows how to convert the given target value to the source type.
acceptsTargetValue in interface ValueConverter<S,T>acceptsTargetValue in class BaseValueConverter<S,T>value - the candidate target valueCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.