package de.bmoth.backend;

public class TranslationOptions {
    private int primeLevel;

    public TranslationOptions() {
        this(0);
    }

    public TranslationOptions(int primeLevel) {
        this.primeLevel = primeLevel;
    }

    public int getPrimeLevel() {
        return primeLevel;
    }
}

package de.bmoth.backend;

public class TranslationOptions {
    private int primeLevel;
    private final boolean hasPrimeLevel;

    public TranslationOptions() {
        this.hasPrimeLevel = false;
    }

    public TranslationOptions(int primeLevel) {
        this.hasPrimeLevel = true;
        this.primeLevel = primeLevel;
    }

    public int getPrimeLevel() {
        return primeLevel;
    }

    public boolean isHasPrimeLevel() {
        return hasPrimeLevel;
    }
}

modify TranslationOptions to also incorporate a non-primed state