Starting from CAST AIP 8.3.23, CAST Architecture Checker will no longer be installed as part of the CAST AIP setup, whether installing CAST AIP from scratch or on a server where a previous release of CAST AIP exists. CAST Architecture Checker has evolved into a standalone component where all feature requests and bug fixes are now managed. This standalone component can be downloaded from CAST Extend (https://extendng.castsoftware.com/#/search-results?q=archichecker).

Up-to-date documentation can be found here: CAST Architecture Checker.

Working with sub-objects


If you are dragging and dropping identification, types and categories from the Types and Properties window to the Main window (Model tab) to create your selection criteria, by default, the Architecture Checker will use the basic All objects matching criterion. This will match all objects with any of the criteria you add in.

In addition, any sub-objects of the matched object(s) will also be assigned to the layer or set (as well as external objects). Sub objects are for example packages, classes and interfaces contained in a parent Java Package object.

If you prefer not to include sub-objects, you can do two things:

Modify existing criteria in a layer or set
  • Right click the pink criterion section in the layer or set
  • Choose Properties in the contextual menu
  • Untick the Include sub-objects option:

  • Click OK to complete the operation.
New empty layer or set
  • Right click the empty layer or set
  • Choose Add selection criteria in the contextual menu
  • Untick the Include sub-objects option as above
  • Click OK to complete the operation.
Results

Either operation above will result in a criterion that does not include sub-objects:

Colours

Depending on the combination of options you choose, the Layer or Set will change colour as follows (note the background colour and the yellow/grey circular icon in the top left of the criterion):

Include sub-objects ticked, Include external objects not ticked
Include sub-objects ticked, Include external objects ticked
Include sub-objects not ticked, Include external objects not ticked
Include sub-objects not ticked, Include external objects ticked

CAST Website