|
|||||||||
| 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.NodeManager
public class NodeManager
Provides access to nodes within a dataset store.
| Constructor Summary | |
|---|---|
NodeManager(NodeStorageContainer storageContainer)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addEntity(Node entity)
Adds the specified entity to the database. |
boolean |
exists(long id)
Indicates if the specified entity exists in the database. |
Node |
getEntity(long id)
Retrieves an entity by its identifier. |
ReleasableIterator<Node> |
iterate()
Returns an iterator providing access to all entities in the database. |
void |
modifyEntity(Node 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 NodeManager(NodeStorageContainer storageContainer)
storageContainer - The storage container containing the entities.| Method Detail |
|---|
public void addEntity(Node entity)
addEntity in interface EntityManager<Node>entity - The entity to add.public boolean exists(long id)
exists in interface EntityManager<Node>id - The id of the entity.
public Node getEntity(long id)
getEntity in interface EntityManager<Node>id - The id of the entity.
public ReleasableIterator<Node> iterate()
iterate in interface EntityManager<Node>public void modifyEntity(Node entity)
modifyEntity in interface EntityManager<Node>entity - The entity to update.public void removeEntity(long entityId)
removeEntity in interface EntityManager<Node>entityId - The id of the entity to remove.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||