|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.ao.schema.CachingTableNameConverter
public class CachingTableNameConverter
A table name converter that simply caches the converted table names.
This implementation uses a ConcurrentMap and is thread safe.
| Constructor Summary | |
|---|---|
CachingTableNameConverter(TableNameConverter delegateTableNameConverter)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName(java.lang.Class<? extends RawEntity<?>> entityClass)
Generates a table name to correspond with the specified class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachingTableNameConverter(TableNameConverter delegateTableNameConverter)
| Method Detail |
|---|
public java.lang.String getName(java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||