helper function add valu attribut refer given collect param return collect link ref base object ad refer attribut ref featur parent object element collect ref base object return content element javax jmi model attribut element refer element refer javax jmi model aggreg kind ak refer element expos end aggreg content ak mof composit valu javax jmi model model element element object refend parent ref valu valu refend refend collect collect collect refend iter iter object add mof element primit datatyp ref base object return add ref base object add mof element primit datatyp refend ref base object return add ref base object refend invalid object except invalid element except 