net.java.ao.test.converters.UpperCaseTableNameConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activeobjects-test Show documentation
Show all versions of activeobjects-test Show documentation
This is a library for Active Objects users to depend on for their own testing.
The newest version!
package net.java.ao.test.converters;
import net.java.ao.RawEntity;
import net.java.ao.schema.Case;
import net.java.ao.schema.TableNameConverter;
import net.java.ao.schema.UnderscoreTableNameConverter;
public final class UpperCaseTableNameConverter implements TableNameConverter {
private final TableNameConverter tnc = new UnderscoreTableNameConverter(Case.UPPER);
@Override
public String getName(Class extends RawEntity>> clazz) {
return tnc.getName(clazz);
}
}