|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.customdb.v0_6.impl.WayManager
public class WayManager
Provides access to ways within a dataset store.
Constructor Summary | |
---|---|
WayManager(WayStorageContainer storageContainer)
Creates a new instance. |
Method Summary | |
---|---|
void |
addEntity(Way entity)
Adds the specified entity to the database. |
boolean |
exists(long id)
Indicates if the specified entity exists in the database. |
Way |
getEntity(long id)
Retrieves an entity by its identifier. |
ReleasableIterator<Way> |
iterate()
Returns an iterator providing access to all entities in the database. |
void |
modifyEntity(Way entity)
Updates the specified entity details in the database. |
void |
removeEntity(long entityId)
Removes the specified entity from the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WayManager(WayStorageContainer storageContainer)
storageContainer
- The storage container containing the entities.Method Detail |
---|
public void addEntity(Way entity)
addEntity
in interface EntityManager<Way>
entity
- The entity to add.public boolean exists(long id)
exists
in interface EntityManager<Way>
id
- The id of the entity.
public Way getEntity(long id)
getEntity
in interface EntityManager<Way>
id
- The id of the entity.
public ReleasableIterator<Way> iterate()
iterate
in interface EntityManager<Way>
public void modifyEntity(Way entity)
modifyEntity
in interface EntityManager<Way>
entity
- The entity to update.public void removeEntity(long entityId)
removeEntity
in interface EntityManager<Way>
entityId
- The id of the entity to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |