package org.innovateuk.ifs.application.creation.form;

import org.innovateuk.ifs.controller.BaseBindingResultTarget;
import javax.validation.constraints.NotNull;

public class ApplicationCreationAuthenticatedForm extends BaseBindingResultTarget {

    @NotNull(message = "{validation.field.confirm.new.application}")
    private Boolean createNewApplication;

    public Boolean getCreateNewApplication() {
        return createNewApplication;
    }

    public void setCreateNewApplication(Boolean createNewApplication) {
        this.createNewApplication = createNewApplication;
    }
}

package org.innovateuk.ifs.application.creation.form;

import org.innovateuk.ifs.controller.BaseBindingResultTarget;
import javax.validation.constraints.NotNull;

/**
 * Form field model for the screen asking whether the user wishes to continue with an existing application.
 */

public class ApplicationCreationAuthenticatedForm extends BaseBindingResultTarget {

    @NotNull(message = "{validation.field.confirm.new.application}")
    private Boolean createNewApplication;

    public Boolean getCreateNewApplication() {
        return createNewApplication;
    }

    public void setCreateNewApplication(Boolean createNewApplication) {
        this.createNewApplication = createNewApplication;
    }
}

Comment added on form file.