persistent class Inventory.Component
extends %Persistent, %XML.Adaptor
Component is a superclass of all types of components discoverable in an
inventory scan. A component represents a named object in a system installation
such as a file, database or routine.
Components maintain a relationship with an optional parent component and any sub-components.
For example, files are subcomponents of directories.
Component data is stored in the %SYS database, and may be exported into an XML
parameter XMLNAME = "Component";
The element name used in the XML representation of the component.
parameter XMLTYPE = "Component";
The identifier used to distinguish the type of this component in the XML representation.
The name of this component, which distinguishes it from other components of the same type.
as Inventory.Component [ Inverse = SubComponents,Cardinality = one ];
The parent component of this component.
as Scan(XMLREFERENCE="ID") [ Required ];
The Scan which found this component.
as Component [ Inverse = ParentComponent,Cardinality = many ];
The subcomponents of this component.
index (NameIndex on Name:Exact);
index (ParentComponentIndex on ParentComponent);
index (ScanIndex on Scan) [Type = bitmap];