Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [Inventory] >  [Component]
Private  Storage   

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 representation.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4 3


Summary

Properties
Name ParentComponent Scan SubComponents

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType

Subclasses
Inventory.ComponentSet Inventory.DirectoryComponent Inventory.FileComponent
Inventory.RoutineComponent

Parameters

• 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.

Properties

• property Name as %String(COLLATION="EXACT",MAXLEN=512);
The name of this component, which distinguishes it from other components of the same type.
• relationship ParentComponent as Inventory.Component [ Inverse = SubComponents,Cardinality = one ];
The parent component of this component.
• property Scan as Scan(XMLREFERENCE="ID") [ Required ];
The Scan which found this component.
• relationship SubComponents as Component [ Inverse = ParentComponent,Cardinality = many ];
The subcomponents of this component.

Indices

•index (NameIndex on Name:Exact);
•index (ParentComponentIndex on ParentComponent);
•index (ScanIndex on Scan) [Type = bitmap];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.