/******************************************************************************* * Copyright (c) 2015-2021 MINRES Technologies GmbH and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * MINRES Technologies GmbH - initial API and implementation *******************************************************************************/ package com.minres.scviewer.database.tx; import java.util.Collection; import java.util.List; import com.minres.scviewer.database.IWaveform; /** * The Interface ITx. */ public interface ITx extends Comparable { /** * Gets the id. * * @return the id */ public long getId(); /** * Gets the stream. * * @return the stream */ public IWaveform getStream(); /** * Gets the generator. * * @return the generator */ public IWaveform getGenerator(); /** * Gets the begin time. * * @return the begin time */ public long getBeginTime(); /** * Gets the end time. * * @return the end time */ public long getEndTime(); /** * Gets the attributes. * * @return the attributes */ public List getAttributes(); /** * Gets the incoming relations. * * @return the incoming relations */ public Collection getIncomingRelations(); /** * Gets the outgoing relations. * * @return the outgoing relations */ public Collection getOutgoingRelations(); }