public void validate()

in src/main/java/org/openvasp/client/model/BirthInfo.java [32:44]


    public void validate(@NonNull final VaspMessage source) {
        if (null == birthDate) {
            throw new VaspValidationException(source, "Birth date must be present");
        }

        if (StringUtils.isEmpty(birthCity)) {
            throw new VaspValidationException(source, "Birth city must be present");
        }

        if (null == birthCountry) {
            throw new VaspValidationException(source, "Birth country must be present");
        }
    }