de.akquinet.jbosscc.guttenbase.defaults.impl.DefaultColumnDataMapper Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.defaults.impl;
import de.akquinet.jbosscc.guttenbase.mapping.ColumnDataMapper;
import de.akquinet.jbosscc.guttenbase.meta.ColumnMetaData;
/**
* By default always just return the same object.
*
*
* © 2012-2034 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DefaultColumnDataMapper implements ColumnDataMapper {
@Override
public Object map(final ColumnMetaData sourceColumnMetaData, final ColumnMetaData targetColumnMetaData, final Object value) {
return value;
}
@Override
public boolean isApplicable(final ColumnMetaData sourceColumnMetaData, final ColumnMetaData targetColumnMetaData) {
return true;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy