In reply to war_isbest:
Yes. Whenever you randomize a class, when that top-level class contains other child classes and their handles are declared with rand, the constraints in the top-level and all the children are considered together as a single set of constraints. (by top-level, I just mean the class object that randomize was called on).