package uk.gov.dvla.domain;

public enum MessageType {
    SuppressFullRecord(0, "Full Record Suppression"),
    SuppressEntitlements(1, "Entitlement Suppression"),
    SuppressLicenceStatus(2, "Suppress Licence Status"),
    SuppressLicenceValidFrom(3, "Suppress Licence Valid From Date"),
    SuppressLicenceValidTo(4, "Suppress Licence Valid To Date"),
    LicenceExpired(5,"Driving Licence Expired"),
    PostcodeMismatch(6,"Postcode Mismatch"),
    NoData(7, "No Data to provide"),
    LicenceStatusModified(8, "Licence status text modified");

    public int getMessageType()
    {
        return value;
    }

    private int value;
    private String valueName;

    private MessageType(int value, String valueName) {
        this.value = value;
        this.valueName = valueName;
    }
}

package uk.gov.dvla.domain;

public enum MessageType {
    SuppressFullRecord(0, "Full Record Suppression"),
    SuppressEntitlements(1, "Entitlement Suppression"),
    SuppressLicenceStatus(2, "Suppress Licence Status"),
    SuppressLicenceValidFrom(3, "Suppress Licence Valid From Date"),
    SuppressLicenceValidTo(4, "Suppress Licence Valid To Date"),
    LicenceExpired(5,"Driving Licence Expired"),
    PostcodeMismatch(6,"Postcode Mismatch"),
    NoData(7, "No Data to provide"),
    LicenceStatusModified(8, "Licence status text modified"),
    WithholdFullRecord(9, "Record withheld");

    public int getMessageType()
    {
        return value;
    }

    private int value;
    private String valueName;

    private MessageType(int value, String valueName) {
        this.value = value;
        this.valueName = valueName;
    }
}

change suppression message to 400 for certain scenarios