Move entity validation from entity to entity adapter.