package de.dhbwstuttgart.strucTypes4.algo;

import de.dhbwstuttgart.strucTypes4.typePlaceHolder.TPH;

/**
 * Created by sebastian on 09.04.17.
 */
public class ConstraintGleich extends ConstraintAbstract{

    TPH typeA;
    TPH typeB;

    public ConstraintGleich(TPH typeA, TPH typeB) {
        this.typeA = typeA;
        this.typeB = typeB;
    }

    public TPH getTypeA() {
        return typeA;
    }

    public void setTypeA(TPH typeA) {
        this.typeA = typeA;
    }

    public TPH getTypeB() {
        return typeB;
    }

    public void setTypeB(TPH typeB) {
        this.typeB = typeB;
    }


    @Override
    public String toString() {
        return String.format( "ConsGleich: ( %s  == %s ) " , typeA, typeB );
    }



}
