Skip to main content

Inventory.DatabaseComponent

persistent class Inventory.DatabaseComponent extends Inventory.FileComponent

SQL Table Name: Inventory.DatabaseComponent

DatabaseComponent is a subclass of FileComponent. An instance represents a IRIS.DAT database file.

In addition to the properties of a FileComponent, it also contains the name of the database and the database's routines as subcomponents.

Property Inventory

Method Inventory

Parameters

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

Properties

property DatabaseName as %String;
The name of this database in the installed configuration.
Property methods: DatabaseNameDisplayToLogical(), DatabaseNameGet(), DatabaseNameGetStored(), DatabaseNameIsValid(), DatabaseNameLogicalToDisplay(), DatabaseNameLogicalToOdbc(), DatabaseNameNormalize(), DatabaseNameSet()

Methods

method Init(scan As Scan, fileName As %String) as DatabaseComponent
Initializes and saves this DatabaseComponent, recording scan as the Scan property, and scanning fileName for its DatabaseName and routines.

The saved DatabaseComponent is returned.

Indexes

index ($DatabaseComponent on ) [Extent, Type = bitmap];
index (DatabaseNameIndex on DatabaseName);
Index methods: DatabaseNameIndexExists()

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)

Storage Model: Storage (Inventory.FileComponent)

^SYS("Inventory","ComponentD")(ID,"FileComponent")
=
SHA1Hash
DateModified
Filename
Size

Storage Model: Storage (Inventory.DatabaseComponent)

^SYS("Inventory","ComponentD")(ID,"DatabaseComponent")
=
DatabaseName
FeedbackOpens in a new tab