<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Architecture Checker - Define Layer or Set Contents on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/</link><description>Recent content in CAST Architecture Checker - Define Layer or Set Contents on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/index.xml" rel="self" type="application/rss+xml"/><item><title>CAST Architecture Checker - Define a Data Layer</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-define-a-data-layer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-define-a-data-layer/</guid><description>&lt;h5 id="example"&gt;Example&lt;/h5&gt;
&lt;p&gt;You have created a Layer called &lt;strong&gt;Data&lt;/strong&gt; (i.e. matches all the source code that runs the Data tier in your application) and you would like to assign all SQL tables that use a specific naming convention (beginning with &lt;strong&gt;T_&lt;/strong&gt;) to this layer. To do this, you can combine a selection based on the object type and another based on the name.&lt;/p&gt;
&lt;h6 id="step-by-step-process"&gt;Step-by-step process&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-types-and-properties-window/"&gt;Types and Properties window&lt;/a&gt;, type &amp;ldquo;&lt;strong&gt;SQL&lt;/strong&gt;&amp;rdquo; in the &lt;strong&gt;Filter&lt;/strong&gt; textbox. This action filters the CAST Meta-Model properties to show you only the &lt;strong&gt;Types&lt;/strong&gt; that contain the &amp;ldquo;SQL&amp;rdquo; string in their name:&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Define a Business layer</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-define-a-business-layer/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-define-a-business-layer/</guid><description>&lt;h5 id="example"&gt;Example&lt;/h5&gt;
&lt;p&gt;You have created a Layer called &lt;strong&gt;Business&lt;/strong&gt; (i.e. matches all the source code that runs the Business logic in your application) and you would like to assign all classes and interfaces to this layer, i.e. all the objects belonging to the Java package called &amp;ldquo;com.mycompany.app.BU&amp;rdquo;.&lt;/p&gt;
&lt;h6 id="step-by-step-process"&gt;Step-by-step process&lt;/h6&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;fullname&lt;/strong&gt; property in the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-types-and-properties-window/"&gt;Types and Properties window&lt;/a&gt; and drag and drop it to the the &lt;strong&gt;Business&lt;/strong&gt; Layer you&amp;rsquo;ve already created in &lt;strong&gt;Define dependencies&lt;/strong&gt; mode (see &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layers-sets-dependencies/"&gt;Define Layers, Sets and Dependencies&lt;/a&gt;), as shown in the screenshot below:&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Using Sets</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-sets/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-sets/</guid><description>&lt;p&gt;This page explains how you can use sets to configure your architecture model. See &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-glossary/"&gt;Glossary&lt;/a&gt; for more information about Sets.&lt;/p&gt;
&lt;h6 id="example"&gt;Example&lt;/h6&gt;
&lt;p&gt;In a large application Architecure Model, it is necessary to create a &amp;ldquo;BackOffice&amp;rdquo; layer that must hold all Database and SAP ABAP objects. Moreover, the database and the SAP ABAP objects cannot communicate so it is not necessary check a dependency between the database and the SAP applications. In this scenario, good practice is to create two Sets, one for the database objects and one for the SAP ABAP objects and to include them in the BackOffice Layer. This way the two Sets can be re-used in other models.&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Using drag and drop from Type and Properties window</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-drag-and-drop-from-type-and-properties-window/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-drag-and-drop-from-type-and-properties-window/</guid><description>&lt;p&gt;When creating Layers and Sets, you can drag items from the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-types-and-properties-window/"&gt;Types and Properties window&lt;/a&gt; directly into your Layer or Set. This is particularly useful when you need to create a Set that includes all objects of a specific Technology.&lt;/p&gt;
&lt;p&gt;In the following example, we want to create a Set that includes all Cobol object types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Drag the parent Cobol item over to your Set:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DOCCOM/attachments/277815741/277815774.jpg" alt=""&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The result is that all Cobol objects will be included in the Set:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DOCCOM/attachments/277815741/277815775.jpg" alt=""&gt;&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Working with external objects</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-external-objects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-external-objects/</guid><description>&lt;p&gt;If you are dragging and dropping identification, types and categories from the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-types-and-properties-window/"&gt;Types and Properties window&lt;/a&gt; to the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-main-window/"&gt;Main window&lt;/a&gt; (&lt;strong&gt;Model tab&lt;/strong&gt;) to create your selection criteria, by default, the Architecture Checker will use the basic &lt;strong&gt;All objects matching&lt;/strong&gt; criterion. This will match all objects with any of the criteria you add in.&lt;/p&gt;
&lt;p&gt;In addition, any &lt;strong&gt;external objects&lt;/strong&gt; (i.e. external to the Application) of the matched object(s) will also be assigned to the layer or set (as well as &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-sub-objects/"&gt;sub-objects&lt;/a&gt;). Including external objects is useful for example if, when a selection criterion matches a Spring bean class, this class will be included in the Layer regardless of whether it belongs to the Application or comes from an external JAR.&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Working with multiple selection criteria</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-multiple-selection-criteria/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-multiple-selection-criteria/</guid><description>&lt;p&gt;The example given in &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-define-a-data-layer/"&gt;Define a Data Layer&lt;/a&gt; assigns two criteria to one layer toassign all SQL tables beginning with &amp;ldquo;T_&amp;rdquo;. This results in the following layer:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DOCCOM/attachments/277815741/277815804.jpg" alt=""&gt;&lt;/p&gt;
&lt;p&gt;Note that the two criteria are located within the &lt;strong&gt;All objects (with sub-objects) matching&lt;/strong&gt; text box. This ensures that an AND match is created (circled in red) and all criteria in that text box must be met.&lt;/p&gt;
&lt;p&gt;If, however you want to assign all SQL tables and all objects (of any type, not just SQL tables) beginning with &amp;ldquo;T_&amp;rdquo;, you need to define the layer as follows into separate criteria using the OR condition:&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Working with sub-objects</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-sub-objects/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-sub-objects/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;If you are dragging and dropping identification, types and categories from the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-types-and-properties-window/"&gt;Types and Properties window&lt;/a&gt; to the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-main-window/"&gt;Main window&lt;/a&gt; (&lt;strong&gt;Model tab&lt;/strong&gt;) to create your selection criteria, by default, the Architecture Checker will use the basic &lt;strong&gt;All objects matching&lt;/strong&gt; criterion. This will match all objects with any of the criteria you add in.&lt;/p&gt;
&lt;p&gt;In addition, any &lt;strong&gt;sub-objects&lt;/strong&gt; of the matched object(s) will also be assigned to the layer or set (as well as &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-working-with-external-objects/"&gt;external objects&lt;/a&gt;). Sub objects are for example packages, classes and interfaces contained in a parent Java Package object.&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Using the Action menu options to automatically create layers</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-the-action-menu-options-to-automatically-create-layers/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-the-action-menu-options-to-automatically-create-layers/</guid><description>&lt;p&gt;&lt;strong&gt;On this page:&lt;/strong&gt;&lt;/p&gt;
&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;Not applicable when working with Quality Rule Models.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;When creating Layers, you can use various &lt;strong&gt;automatic&lt;/strong&gt; layer creation options available in the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-main-menu/cast-architecture-checker-action-menu/"&gt;Action menu&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DOCCOM/attachments/277815847/278921783.jpg" alt=""&gt;&lt;/p&gt;
&lt;h2 id="create-layers-from-user-defined-module-selection"&gt;Create layers from User Defined Module selection&lt;/h2&gt;
&lt;p&gt;This option is available in the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-main-menu/cast-architecture-checker-action-menu/"&gt;Action menu&lt;/a&gt; located on the toolbar. It allows you to create a layer for &lt;strong&gt;each Module&lt;/strong&gt; that belongs to the currently selected Application. All Modules (whether automatically or manually defined) listed in the &lt;strong&gt;Module tab&lt;/strong&gt; of the &lt;strong&gt;Application editor&lt;/strong&gt; in the CAST Management Studio can be selected as the basis for the layer:&lt;/p&gt;</description></item><item><title>CAST Architecture Checker - Using the calls any or called by any layer option</title><link>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-the-calls-any-or-called-by-any-layer-option/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layer-or-set-contents/cast-architecture-checker-using-the-calls-any-or-called-by-any-layer-option/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;Not applicable when working with Quality Rule Models.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;When &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-how-to/cast-architecture-checker-define-layers-sets-dependencies/"&gt;defining&lt;/a&gt; dependencies for your layers, you can, if required, allow a layer to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;call any layer&lt;/li&gt;
&lt;li&gt;be called by any layer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To do so:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click your layer and select &lt;strong&gt;Calls any layer&lt;/strong&gt; or &lt;strong&gt;Called by any layer&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/DOCCOM/attachments/277815741/277815754.jpg" alt=""&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An icon will be displayed in the title bar of your layer:&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;Current layer can call any other defined layer&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;Current layer can be called by any other defined layer&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;td&gt;Current layer can call any and be called by any defined layer&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;When you activate either option or both options, dependencies ( arrows) already in the &lt;strong&gt;Model tab&lt;/strong&gt; in the &lt;a href="https://doc.castsoftware.com/export-v2/doccom/cast-architecture-checker/cast-architecture-checker-user-guide/cast-architecture-checker-cast-architecture-checker-gui/cast-architecture-checker-main-window/"&gt;Main window&lt;/a&gt; coming from or to the current layer will be remov&lt;/p&gt;</description></item></channel></rss>