|
Holger's Java API |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EntryClassMapper | |
|---|---|
| com.antelmann.db | This package contains generally useful classes for generic database management. |
| com.antelmann.servlet | This package contains classes to help with the implementation of servlets. |
| com.antelmann.sql | This package contains classes to ease JDBC development and also provides useful SQL-based implementations for com.antelmann.db classes |
| Uses of EntryClassMapper in com.antelmann.db |
|---|
| Classes in com.antelmann.db that implement EntryClassMapper | |
|---|---|
static class |
EntryClassMapper.Adapter
a default implementation (based on some other basic mapping like STRING_MAPPER)
which supports label customization per instance |
| Fields in com.antelmann.db declared as EntryClassMapper | |
|---|---|
static EntryClassMapper |
EntryClassMapper.DEFAULT_MAPPER
a default implementation that simply maps the class to itself; custom labels are not supported |
static EntryClassMapper |
EntryClassMapper.STRING_MAPPER
a convenient implementation that maps to the String representing the class name; custom labels are not supported |
| Methods in com.antelmann.db with parameters of type EntryClassMapper | |
|---|---|
static FormattedCellRenderer |
EntryClassMapper.Adapter.getRenderer(EntryClassMapper ecm)
|
static Converter<Class<? extends DBEntry>,Object> |
EntryClassMapper.Adapter.toConverter(EntryClassMapper ecm)
|
| Constructors in com.antelmann.db with parameters of type EntryClassMapper | |
|---|---|
EntryClassMapper.Adapter(EntryClassMapper defaultMapper)
|
|
| Uses of EntryClassMapper in com.antelmann.servlet |
|---|
| Fields in com.antelmann.servlet declared as EntryClassMapper | |
|---|---|
protected EntryClassMapper |
DBEntryServlet.ecm
per default initialized to STRING_MAPPER |
| Uses of EntryClassMapper in com.antelmann.sql |
|---|
| Classes in com.antelmann.sql that implement EntryClassMapper | |
|---|---|
class |
SQLEntryClassMapper
allows to automatically map entry class objects to their respective table names in a database Note: only use this as a DBConfigListener if the mapper is associated to a single database,
since the complete mapping will be replaced when store changes occur. |
| Methods in com.antelmann.sql that return EntryClassMapper | |
|---|---|
EntryClassMapper |
RelationshipStore.getEntryClassMapper()
|
EntryClassMapper |
RelationshipManager.getEntryClassMapper()
returns the EntryClassMapper used by the store to map the class of the references |
EntryClassMapper |
BaseRowMapper.getEntryClassMapper()
|
| Methods in com.antelmann.sql with parameters of type EntryClassMapper | |
|---|---|
void |
RelationshipStore.setEntryClassMapper(EntryClassMapper ecm)
use this method to set the EntryClassMapper of the embedded mapper to something other than STRING_MAPPER |
void |
RelationshipStore.Mapper.setEntryClassMapper(EntryClassMapper ecm)
|
void |
BaseRowMapper.setEntryClassMapper(EntryClassMapper ecm)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||