package de.dhbwstuttgart.strucTypes5.interfaceTemplates;


import de.dhbwstuttgart.strucTypes5.typeVars.TypeVarAbstract;

/**
 * Created by sebastian on 09.04.17.
 */
public class FieldInterface {

    TypeVarAbstract type;
    String name;

    public FieldInterface(TypeVarAbstract type, String name) {
        this.type = type;
        this.name = name;
    }

    public TypeVarAbstract getType() {
        return type;
    }

    public void setType(TypeVarAbstract type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        return String.format("%s %s  "  , type , name  );
    }
}
