Commit 814c2d13 authored by Martti Käärik's avatar Martti Käärik
Browse files

TRI - ComponentInstance is actually NamedElement

parent 762c2ae8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -22,11 +22,11 @@ public class GateReferenceImpl implements GateReference {
	private Element gate;
	private NamedElement gateType;
	private GateTypeKind gateTypeKind;
	private Element component;
	private NamedElement component;
	private NamedElement componentType;
	private ComponentInstanceRole role;

	public GateReferenceImpl(Element gate, NamedElement gateType, GateTypeKind gateTypeKind, Element component, NamedElement componentType,
	public GateReferenceImpl(Element gate, NamedElement gateType, GateTypeKind gateTypeKind, NamedElement component, NamedElement componentType,
			ComponentInstanceRole role) {
		this.gate = gate;
		this.gateType = gateType;
@@ -52,7 +52,7 @@ public class GateReferenceImpl implements GateReference {
	}

	@Override
	public Element getComponent() {
	public NamedElement getComponent() {
		return component;
	}

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ public interface GateReference {
	
	GateTypeKind getGateTypeKind();

	Element getComponent();
	NamedElement getComponent();

	NamedElement getComponentType();