Skip to main content

Inventory.DirectoryComponent

persistent class Inventory.DirectoryComponent extends Inventory.Component

SQL Table Name: Inventory.DirectoryComponent

DirectoryComponent is a subclass of Component. An instance represents an operating system directory.

It contains references to the FileComponents and DirectoryComponents representing the files and subdirectories in the directory as subcomponents.

Method Inventory

Parameters

parameter XMLNAME = DirectoryComponent;
The element name used in the XML representation of the component.
parameter XMLTYPE = DirectoryComponent;
The identifier used to distinguish the type of this component in the XML representation.

Methods

method Init(scan As Scan, directoryName As %String) as DirectoryComponent
Initializes and saves this DirectoryComponent, recording scan as the Scan property, and scanning directoryName for its subdirectories and files.

The saved DirectoryComponent is returned.

Indexes

index ($DirectoryComponent on ) [Extent, Type = bitmap];

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Inventory.Component)

^SYS("Inventory","ComponentD")(ID)
=
%%CLASSNAME
Name
ParentComponent
Scan

Storage Model: Storage (Inventory.Component)

^SYS("Inventory","ComponentD")(ID,"SubComponents",n)
=
SubComponents(n)
FeedbackOpens in a new tab