2015-01-21 21:58:35 +01:00
|
|
|
/*******************************************************************************
|
2021-01-09 14:26:49 +01:00
|
|
|
* Copyright (c) 2015-2021 MINRES Technologies GmbH and others.
|
2015-01-21 21:58:35 +01: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:
|
|
|
|
* MINRES Technologies GmbH - initial API and implementation
|
|
|
|
*******************************************************************************/
|
2020-11-28 14:47:43 +01:00
|
|
|
package com.minres.scviewer.database.tx;
|
|
|
|
|
|
|
|
import com.minres.scviewer.database.RelationType;
|
2015-01-06 17:14:16 +01:00
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* The Interface ITxRelation.
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
public interface ITxRelation {
|
|
|
|
|
2021-01-09 12:43:02 +01:00
|
|
|
/**
|
|
|
|
* Gets the relation type.
|
|
|
|
*
|
|
|
|
* @return the relation type
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
RelationType getRelationType();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the source.
|
|
|
|
*
|
|
|
|
* @return the source
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
ITx getSource();
|
2021-01-09 12:43:02 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the target.
|
|
|
|
*
|
|
|
|
* @return the target
|
|
|
|
*/
|
2015-01-06 17:14:16 +01:00
|
|
|
ITx getTarget();
|
|
|
|
}
|