public abstract class CanonicalClassNameTableNameConverter extends Object implements TableNameConverter
| Constructor and Description |
|---|
CanonicalClassNameTableNameConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName(Class<? extends RawEntity<?>> entityClass)
Generates a table name to correspond with the specified class.
|
protected abstract String |
getName(String entityClassCanonicalName) |
public CanonicalClassNameTableNameConverter()
public final String getName(Class<? extends RawEntity<?>> entityClass)
TableNameConverterTable
annotation and use the appropriate override when necessary. If this
check is not made, ActiveObjects will continue to function normally,
but any code assuming the proper imlementation of @Table
will likely fail.getName in interface TableNameConverterentityClass - The entity type for which a corresponding field name must be
generated.Copyright © 2007–2021 Atlassian. All rights reserved.