InterSystems IRIS for Health 2021.1Opens in a new window > Class Reference > %SYS namespace > Inventory.ComponentSet

Inventory.ComponentSet

persistent class Inventory.ComponentSet extends Inventory.Component

SQL Table Name: Inventory.ComponentSet

A ComponentSet object represents a set of Component objects It is used to associate Components that otherwise are unrelated.

Method Inventory

Parameters

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

Methods

method AddComponent(component As Component) as %Status [ Language = objectscript ]
Adds a newcomponent to this set, represented as a subcomponent
method Init(scan As Scan) as ComponentSet [ Language = objectscript ]

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 window