public class ConvertedRowInsertionInterceptor extends Object implements RowInsertionInterceptor
RowInsertionInterceptor used for intercepting values in
RowInsertionBuilders that need to be converted, according to a set of
TypeConverters.TypeConverter,
Converters| Constructor and Description |
|---|
ConvertedRowInsertionInterceptor() |
ConvertedRowInsertionInterceptor(Map<Column,TypeConverter<?,?>> converters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConverter(Column column,
TypeConverter<?,?> converter) |
RowInsertionBuilder |
intercept(RowInsertionBuilder insert)
Interception method invoked by MetaModel when the intercepted object is
being activated.
|
public ConvertedRowInsertionInterceptor()
public ConvertedRowInsertionInterceptor(Map<Column,TypeConverter<?,?>> converters)
public void addConverter(Column column, TypeConverter<?,?> converter)
public RowInsertionBuilder intercept(RowInsertionBuilder insert)
Interceptorintercept in interface Interceptor<RowInsertionBuilder>insert - the intercepted objectCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.