|
|||||||||
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.DbFeatureHistory<T>
T
- The type of entity feature that this class stores history for.public class DbFeatureHistory<T extends Storeable>
A data class representing a history record for an entity feature.
Constructor Summary | |
---|---|
DbFeatureHistory(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
|
DbFeatureHistory(T feature,
int version)
Creates a new instance. |
Method Summary | |
---|---|
T |
getFeature()
Gets the contained feature. |
int |
getVersion()
Gets the version value. |
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 DbFeatureHistory(T feature, int version)
feature
- The contained feature.version
- The version field.public DbFeatureHistory(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 T getFeature()
public int getVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |