public abstract class CanonicalClassNameTableNameConverter extends java.lang.Object implements TableNameConverter
Constructor and Description |
---|
CanonicalClassNameTableNameConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName(java.lang.Class<? extends RawEntity<?>> entityClass)
Generates a table name to correspond with the specified class.
|
protected abstract java.lang.String |
getName(java.lang.String entityClassCanonicalName) |
public CanonicalClassNameTableNameConverter()
public final java.lang.String getName(java.lang.Class<? extends RawEntity<?>> entityClass)
TableNameConverter
Table
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 TableNameConverter
entityClass
- The entity type for which a corresponding field name must be
generated.protected abstract java.lang.String getName(java.lang.String entityClassCanonicalName)
Copyright © 2007-2018. All Rights Reserved.