package com.minres.scviewer.database.sqlite; import java.util.List; import com.minres.scviewer.database.ITx; import com.minres.scviewer.database.ITxEvent; import com.minres.scviewer.database.ITxGenerator; import com.minres.scviewer.database.ITxStream; import com.minres.scviewer.database.sqlite.tables.ScvGenerator; public class TxGenerator implements ITxGenerator { private ITxStream stream; private ScvGenerator scvGenerator; public TxGenerator(ITxStream stream, ScvGenerator scvGenerator) { this.stream=stream; this.scvGenerator=scvGenerator; } @Override public Long getId() { return (long) scvGenerator.getId(); } @Override public ITxStream getStream() { return stream; } @Override public String getName() { return scvGenerator.getName(); } @Override public List getTransactions() { return null; } }