|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.mysql.v0_5.impl.DBWayNode
public class DBWayNode
A data class for representing a way node database record. This extends a way node with fields relating it to the owning way.
Constructor Summary | |
---|---|
DBWayNode(long wayId,
WayNode wayNode,
int sequenceId)
Creates a new instance. |
|
DBWayNode(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
Method Summary | |
---|---|
int |
getSequenceId()
|
long |
getWayId()
|
WayNode |
getWayNode()
|
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBWayNode(long wayId, WayNode wayNode, int sequenceId)
wayId
- The owning way id.wayNode
- The way node being referenced.sequenceId
- The order of this node within the way.public DBWayNode(StoreReader sr, StoreClassRegister scr)
sr
- The store to read state from.scr
- Maintains the mapping between classes and their identifiers
within the store.Method Detail |
---|
public void store(StoreWriter sw, StoreClassRegister scr)
store
in interface Storeable
sw
- The writer that persists data to an underlying store.scr
- Maintains the mapping between classes and their identifiers
within the store.public long getWayId()
public WayNode getWayNode()
public int getSequenceId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |