Uses of Interface
org.javalite.conversion.Converter
Package
Description
ActiveJDBC - the agile Java ORM.
Classes to manage data conversions, se Data conversions
Data validation , see
Validations.
-
Uses of Converter in org.javalite.activejdbc
Modifier and TypeMethodDescriptionprotected static void
Model.convertWith(Converter converter, String... attributeNames)
Registers a custom converter for the specified attributes.static void
ModelDelegate.convertWith(Class<? extends Model> clazz, Converter converter, String... attributeNames)
-
Uses of Converter in org.javalite.conversion
Modifier and TypeClassDescriptionclass
Converts instances of String that are empty or contain only whitespaces to null.class
ConverterAdapter<S,T>
Converts instances of S to T.class
class
class
class
Converts instances of Number that are zero to null. -
Uses of Converter in org.javalite.validation
Modifier and TypeMethodDescription<S, T> Converter<S,T>
ValidationSupport.converterForClass(String attribute, Class<S> sourceClass, Class<T> destinationClass)
Returns converter for specified model attribute, able to convert from sourceClass to destinationClass.ValidationSupport.converterForValue(String attribute, Object value, Class<T> destinationClass)
Returns converter for specified model attribute, able to convert value to an instance of destinationClass.Modifier and TypeMethodDescriptionvoid
ValidationSupport.convertWith(Converter converter, String attribute)
Registers converter for specified model attribute.void
ValidationSupport.convertWith(Converter converter, String... attributes)
Registers converter for specified model attributes.