de.akquinet.jbosscc.guttenbase.hints.impl.DefaultColumnNameMapperHint Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.hints.impl;
import de.akquinet.jbosscc.guttenbase.hints.ColumnNameMapperHint;
import de.akquinet.jbosscc.guttenbase.mapping.ColumnNameMapper;
import de.akquinet.jbosscc.guttenbase.meta.ColumnMetaData;
/**
* Default implementation just returns the plain column name.
*
*
* © 2012 akquinet tech@spree
*
*
* @author M. Dahm
*/
public class DefaultColumnNameMapperHint extends ColumnNameMapperHint {
@Override
public ColumnNameMapper getValue() {
return new ColumnNameMapper() {
@Override
public String mapColumnName(final ColumnMetaData columnMetaData) {
return columnMetaData.getColumnName();
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy