yes traits deactivate when you switch classes and then a new set of traits will come available to learn and be used with that new class. the traits are just passive bonuses and are different for each class.