org.eobjects.metamodel.convert
Class ConvertedRowInsertionInterceptor
java.lang.Object
org.eobjects.metamodel.convert.ConvertedRowInsertionInterceptor
- All Implemented Interfaces:
- Interceptor<RowInsertionBuilder>, RowInsertionInterceptor
public class ConvertedRowInsertionInterceptor
- extends Object
- implements RowInsertionInterceptor
A RowInsertionInterceptor used for intercepting values in
RowInsertionBuilders that need to be converted, according to a set of
TypeConverters.
- See Also:
TypeConverter,
Converters
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertedRowInsertionInterceptor
public ConvertedRowInsertionInterceptor()
ConvertedRowInsertionInterceptor
public ConvertedRowInsertionInterceptor(Map<Column,TypeConverter<?,?>> converters)
addConverter
public void addConverter(Column column,
TypeConverter<?,?> converter)
intercept
public RowInsertionBuilder intercept(RowInsertionBuilder insert)
- Description copied from interface:
Interceptor
- Interception method invoked by MetaModel when the intercepted object is
being activated.
- Specified by:
intercept in interface Interceptor<RowInsertionBuilder>
- Parameters:
insert - the intercepted object
- Returns:
- the intercepted object, or a modification of this if the object
is to be replaced by the interceptor. The returned object must
not be null.
Copyright © 2007-2013. All Rights Reserved.