Can you move the validation to a different place? Checking for non null values in a getter makes no sense to me