public class ConvertedRowInsertionInterceptor extends Object implements RowInsertionInterceptor
RowInsertionInterceptor
used for intercepting values in
RowInsertionBuilder
s that need to be converted, according to a set of
TypeConverter
s.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)
Interceptor
intercept
in interface Interceptor<RowInsertionBuilder>
insert
- the intercepted objectCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.