SCViewer/com.minres.scviewer.database/src/com/minres/scviewer/database/ITransaction.java

35 lines
998 B
Java
Raw Normal View History

2012-06-17 20:34:50 +02:00
/*******************************************************************************
* Copyright (c) 2012 IT Just working.
* 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:
* IT Just working - initial API and implementation
*******************************************************************************/
package com.minres.scviewer.database;
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;
import java.util.Set;
public interface ITransaction {
2015-01-01 23:17:32 +01:00
2012-06-17 19:53:05 +02:00
public Long getId();
2015-01-01 23:17:32 +01:00
public ITrStream getStream();
2012-06-17 19:53:05 +02:00
public ITrGenerator getGenerator();
2015-01-01 23:17:32 +01:00
2012-06-17 19:53:05 +02:00
public EventTime getBeginTime();
2015-01-01 23:17:32 +01:00
2012-06-17 19:53:05 +02:00
public EventTime getEndTime();
2015-01-01 23:17:32 +01:00
2012-06-17 19:53:05 +02:00
public List<ITrAttribute> getAttributes();
2015-01-01 23:17:32 +01:00
public Collection<ITrRelation> getIncomingRelations();
public Collection<ITrRelation> getOutgoingRelations();
2012-06-17 19:53:05 +02:00
}