public abstract class PersistenceConverter<T> extends Object implements PersistenceEncoder<T>, PersistenceDecoder<T>
KEY_PERSISTENCE_ID
Constructor and Description |
---|
PersistenceConverter() |
Modifier and Type | Method and Description |
---|---|
protected Item |
convertToCurrentVersion(Item item,
Product product) |
protected Container |
createRootContainer(String name) |
T |
decode(Item item,
Product product)
Dont override this method.
|
protected abstract T |
decodeImpl(Item item,
Product product) |
HistoricalDecoder[] |
getHistoricalDecoders()
Override if necessary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
canDecode, getID, isCurrentVersion
public T decode(Item item, Product product)
decodeImpl(Item, Product)
.decode
in interface PersistenceDecoder<T>
public HistoricalDecoder[] getHistoricalDecoders()
getHistoricalDecoders
in interface PersistenceDecoder<T>
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.