{"id":1531,"date":"2015-09-28T09:22:46","date_gmt":"2015-09-28T07:22:46","guid":{"rendered":"http:\/\/www.capri-soft.de\/blog\/?p=1531"},"modified":"2015-09-28T09:23:09","modified_gmt":"2015-09-28T07:23:09","slug":"ibm-doors-dxl-difference-between-linkref-and-link-objects-unterschied-zwischen-linkref-und-link","status":"publish","type":"post","link":"https:\/\/www.capri-soft.de\/blog\/?p=1531","title":{"rendered":"IBM Doors DXL: Difference between LinkRef and Link Objects \/ Unterschied zwischen LinkRef und Link"},"content":{"rendered":"<h1>Problem<\/h1>\n<p>Der Unterschied zwischen den Objekten LinkRef und Link soll anhand eines Beispiels verdeutlicht werden.<br \/>\nTo show the difference between the LinkRef and Link Objects in DXL an example will be shown<\/p>\n<h1>Ansatz &#8211; Approach<\/h1>\n<p>LinkRef enth\u00e4lt weniger Informationen als Link, kann allerdings auch bei nicht ge\u00f6ffnetem Modul in einer Schleife durchlaufen werden. Es wird daher genutzt, um die Module zu \u00f6ffnen um sp\u00e4ter mit dem Link-Objekt die vollst\u00e4ndigen Informationen des Link-Objekts zu erhalten.<br \/>\nLinkRef contain less information than Link and can be iterated without opening the module. It is used often to open the modules and iterate them with the Link Objekt, which contains the full information<\/p>\n<h1>L\u00f6sung &#8211; Solution<\/h1>\n<p>Example: Layout-DXL which shows the In-Links<br \/>\nBeispiel f\u00fcr ein Layout DXL, was die In-Links ausgibt<\/p>\n<p>\/\/ A Link can only be read when the source module is open<br \/>\nLink lnk;<\/p>\n<p>\/\/ LinkRefs can be iterated on an object, although the<br \/>\n\/\/ object is closed<br \/>\nLinkRef lref;<\/p>\n<p>string srcModuleName;<\/p>\n<p>\/\/ Iterate the LinkRefs to open the modules &#8211; this<br \/>\n\/\/ should be done to get all Links back<br \/>\nfor lref in obj<-\"*\" do\n{\n\tsrcModuleName = fullName source (lref);\n\n \tif (!open module srcModuleName)\n \t{\n    \tread(srcModuleName, false);\n \t} \t\n}\n\n\/\/ After the source Links have been opened, they can be\n\/\/ iterated with a Link Object\nfor lnk in obj <- \"*\" do \n{ \n\tObject src = source lnk;\n\tdisplay(identifier(src) \"\");\n}\n[\/javascript]\n<\/p>\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.capri-soft.de%2Fblog%2F%3Fp%3D1531&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px;margin-top:5px;\"><\/iframe>","protected":false},"excerpt":{"rendered":"<p>Problem Der Unterschied zwischen den Objekten LinkRef und Link soll anhand eines Beispiels verdeutlicht werden. To show the difference between the LinkRef and Link Objects in DXL an example will be shown Ansatz &#8211; Approach LinkRef enth\u00e4lt weniger Informationen als Link, kann allerdings auch bei nicht ge\u00f6ffnetem Modul in einer Schleife durchlaufen werden. Es wird &hellip; <a href=\"https:\/\/www.capri-soft.de\/blog\/?p=1531\" class=\"more-link\"><span class=\"screen-reader-text\">IBM Doors DXL: Difference between LinkRef and Link Objects \/ Unterschied zwischen LinkRef und Link<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[22,19],"tags":[],"class_list":["post-1531","post","type-post","status-publish","format-standard","hentry","category-dxl","category-ibm-doors"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4yGeN-oH","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1531"}],"version-history":[{"count":2,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1531\/revisions"}],"predecessor-version":[{"id":1533,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1531\/revisions\/1533"}],"wp:attachment":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}