helper method make link content object effici possibl call recurs param result collect popul model element param pack namespac content param dup check collect model element check previou recurs check save duplic effort process element content collect model element result model element pack collect model element dup check pack dup check contain pack dup check add pack namespac pre oper content result set contain model element contain namespac content set model element content self content content self own element union self namespac content pre pack namespac content result pack classifi pre oper content return set contain model element contain classifi content inherit parent content set model element content self content union self parent content select element ownership visibl element ownership visibl parent defin generaliz element oper parent return set contain direct parent parent set generaliz element parent self gener parent pre pre oper content result set contain model element own import ancestor content set model element content self content union self parent content select element ownership visibl element ownership visibl requir oper defin oper content result set contain model element own import content set model element content self own element union self import element oper import element result set contain model element import parent import element set model element import element self import element union self parent ocl type import element select element visibl element visibl pre pack classifi pack uml collect generaliz element parent core helper mdr impl parent generaliz element pack todo reus set recurs set model element content hash set model element generaliz element parent parent content content parent dup check pack uml import element content pack generaliz element parent parent import element content parent model element element content visibl kind vk equal element visibl visibl kind vk equal element visibl result add element collabor pre oper content result set model element contain collabor contain parent special content set model element content self content union self parent content reject self content includ parent generaliz element definit pre defin log lp log granular type statement pack collabor todo implement log debug implement content pack endif invalid object except invalid element except 