2012-06-17 20:34:50 +02:00
|
|
|
/*******************************************************************************
|
2021-01-09 14:26:49 +01:00
|
|
|
* Copyright (c) 2015-2021 MINRES Technologies GmbH and others.
|
2012-06-17 20:34:50 +02:00
|
|
|
* 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:
|
2015-01-21 21:58:35 +01:00
|
|
|
* MINRES Technologies GmbH - initial API and implementation
|
2012-06-17 20:34:50 +02:00
|
|
|
*******************************************************************************/
|
2020-11-28 14:47:43 +01:00
|
|
|
package com.minres.scviewer.database.tx;
|
2012-06-17 19:53:05 +02:00
|
|
|
|
2015-01-01 23:17:32 +01:00
|
|
|
import java.util.Collection;
|
2012-06-17 19:53:05 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2020-11-28 14:47:43 +01:00
|
|
|
import com.minres.scviewer.database.IWaveform;
|
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* The Interface ITx.
|
|
|
|
*/
|
|
|
|
public interface ITx extends Comparable<ITx> {
|
2015-01-01 23:17:32 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Gets the id.
|
|
|
|
*
|
|
|
|
* @return the id
|
|
|
|
*/
|
2021-02-27 14:59:00 +01:00
|
|
|
public long getId();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the stream.
|
|
|
|
*
|
|
|
|
* @return the stream
|
|
|
|
*/
|
2020-11-28 10:22:22 +01:00
|
|
|
public IWaveform getStream();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the generator.
|
|
|
|
*
|
|
|
|
* @return the generator
|
|
|
|
*/
|
2021-01-14 23:55:47 +01:00
|
|
|
public IWaveform getGenerator();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the begin time.
|
|
|
|
*
|
|
|
|
* @return the begin time
|
|
|
|
*/
|
2021-02-27 14:59:00 +01:00
|
|
|
public long getBeginTime();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the end time.
|
|
|
|
*
|
|
|
|
* @return the end time
|
|
|
|
*/
|
2021-02-27 14:59:00 +01:00
|
|
|
public long getEndTime();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the attributes.
|
|
|
|
*
|
|
|
|
* @return the attributes
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public List<ITxAttribute> getAttributes();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the incoming relations.
|
|
|
|
*
|
|
|
|
* @return the incoming relations
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public Collection<ITxRelation> getIncomingRelations();
|
2015-01-01 23:17:32 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Gets the outgoing relations.
|
|
|
|
*
|
|
|
|
* @return the outgoing relations
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public Collection<ITxRelation> getOutgoingRelations();
|
2012-06-17 19:53:05 +02:00
|
|
|
}
|