association class validation