package de.dhbwstuttgart.strucTypes3;

import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPHOrWildcardOrGeneric;


public class GleichConstraint extends ConstraintAbstract {

	private RefTypeOrTPHOrWildcardOrGeneric a;
	private RefTypeOrTPHOrWildcardOrGeneric b;

	// Type A ist Type B
	public GleichConstraint(RefTypeOrTPHOrWildcardOrGeneric a, RefTypeOrTPHOrWildcardOrGeneric b) {
		this.a = a;
		this.b = b;
	}
	
	
	public String toString() {
		return String.format("GleichConstraint( %s , %s )"  , a.toString(), b.toString());  
	}


	public RefTypeOrTPHOrWildcardOrGeneric getA() {
		return a;
	}


	public void setA(RefTypeOrTPHOrWildcardOrGeneric a) {
		this.a = a;
	}


	public RefTypeOrTPHOrWildcardOrGeneric getB() {
		return b;
	}


	public void setB(RefTypeOrTPHOrWildcardOrGeneric b) {
		this.b = b;
	}
	
	
	
	
}
