Ensure that status values are valid
Check that the value passed to setStatus()
is valid for the type of
incidence. If it is not, keep the old, presumably valid status.
Check that the value passed to setStatus()
is valid for the type of
incidence. If it is not, keep the old, presumably valid status.