{"id":2973,"date":"2019-06-25T14:19:43","date_gmt":"2019-06-25T12:19:43","guid":{"rendered":"http:\/\/www.capri-soft.de\/blog\/?p=2973"},"modified":"2019-06-25T14:31:04","modified_gmt":"2019-06-25T12:31:04","slug":"ibm-doors-dxl-object-selection","status":"publish","type":"post","link":"https:\/\/www.capri-soft.de\/blog\/?p=2973","title":{"rendered":"IBM Doors DXL: Object Selection"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Current module selections<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n\/\/ Select the current Module\nModule m = current; \n\n\/\/ Get first Object of Module\nObject firstObject = first(m);\n\n\/\/ Get last Object of Module\nObject lastObject = last(m);\n\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Selection on object children and parents (get parent \/ first \/ last child)<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n\/\/ Get current selected module (highlighted row in Module)\nObject currObj = current\n\n\/\/ Get first Child of the Object (which is below currObj - \n\/\/ i.e. whenn currObj is a Headline)\nObject firstChild = first(currObj);\n\n\/\/ Get last child of the objects below currObj\nObject lastChild = last(currObj);\n\n\/\/ Get the parent of currObj\nObject parentObject = parent(currObj);\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Selection of vertically arranged objects in the module (without considering the object hierarchy)<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nObject currObj = current;\n\n\/\/ Select the previous object independent from the object hierarchy\nObject previousObj = previous(lastChild);\n\n\/\/ Select the next object independent from the object hierarchy\nObject nextObj = next(lastChild);\n\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Selection of siblings of the current object<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nObject currObj = current;\n\n\/\/ Selection of the first sibling in the same hiararchy and hierarchy level\nObject firstSibling = first sibling (currObj);\n\n\/\/ Selection of the last sibling in the same hiararchy and hierarchy level\nObject firstSibling = first sibling (currObj);\n<\/pre><\/div>\n\n\n<p><\/p>\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.capri-soft.de%2Fblog%2F%3Fp%3D2973&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>Current module selections Selection on object children and parents (get parent \/ first \/ last child) Selection of vertically arranged objects in the module (without considering the object hierarchy) Selection of siblings of the current object<\/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-2973","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-LX","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2973","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=2973"}],"version-history":[{"count":2,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2973\/revisions"}],"predecessor-version":[{"id":2975,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2973\/revisions\/2975"}],"wp:attachment":[{"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.capri-soft.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}