|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openstreetmap.osmosis.core.apidb.v0_6.impl.EntityDao<Relation>
org.openstreetmap.osmosis.core.apidb.v0_6.impl.RelationDao
public class RelationDao
Provides access to relations in the database.
| Constructor Summary | |
|---|---|
RelationDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected EntityContainerFactory<Relation> |
getContainerFactory()
Gets the entity container factory for the entity type. |
protected RowMapperListener<CommonEntityData> |
getEntityRowMapper(RowMapperListener<Relation> entityListener)
Creates a row mapper that receives common entity data objects and produces full entity objects. |
protected java.util.List<FeatureHistoryPopulator<Relation,?,?>> |
getFeatureHistoryPopulators(java.lang.String selectedEntityTableName,
org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource)
Gets the history feature populators for the entity type. |
protected java.lang.String[] |
getTypeSpecificFieldNames()
Produces an array of additional column names specific to this entity type to be returned by entity queries. |
| Methods inherited from class org.openstreetmap.osmosis.core.apidb.v0_6.impl.EntityDao |
|---|
getCurrent, getHistory, getHistory, getHistory, getNamedParamJdbcTemplate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationDao(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
jdbcTemplate - Used to access the database.| Method Detail |
|---|
protected RowMapperListener<CommonEntityData> getEntityRowMapper(RowMapperListener<Relation> entityListener)
getEntityRowMapper in class EntityDao<Relation>entityListener - The full entity object listener.
protected java.lang.String[] getTypeSpecificFieldNames()
getTypeSpecificFieldNames in class EntityDao<Relation>protected EntityContainerFactory<Relation> getContainerFactory()
getContainerFactory in class EntityDao<Relation>
protected java.util.List<FeatureHistoryPopulator<Relation,?,?>> getFeatureHistoryPopulators(java.lang.String selectedEntityTableName,
org.springframework.jdbc.core.namedparam.MapSqlParameterSource parameterSource)
getFeatureHistoryPopulators in class EntityDao<Relation>selectedEntityTableName - The statement for obtaining the id and version pairs of entity records selected.parameterSource - The parameters required to execute the selected entity statement.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||