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