fixed bug (commented code) that prevented unionOf in a domain to be added to the properties of a class
decoupling castor properties