Home > Class Reference > %SYS namespace > %Library.PackageDefinition

%Library.PackageDefinition

persistent class %Library.PackageDefinition extends %Library.AbstractDefinition

SQL Table Name: %Library.PackageDefinition

This class represents a specific package description contained within the Class Dictionary.

Property Inventory

Method Inventory

Properties

property ClientName as %RawString;
A string containing the client name of the package.
Property methods: ClientNameGet(), ClientNameIsValid(), ClientNameSet()
property Description as %RawString;
A string containing the description of the package.
Property methods: DescriptionGet(), DescriptionIsValid(), DescriptionSet()
property GlobalPrefix as %RawString;
A string containing the global prefix of the package, used for data, id, and index locations.
Property methods: GlobalPrefixGet(), GlobalPrefixIsValid(), GlobalPrefixSet()
property Name as %RawString;
A string containing the name of the package.
Property methods: NameGet(), NameIsValid(), NameSet()
property OwnerName as %RawString;
A string containing the Owner's name of the package.
Property methods: OwnerNameGet(), OwnerNameIsValid(), OwnerNameSet()
property RtnPrefix as %RawString;
A string containing the routine prefix of the package.
Property methods: RtnPrefixGet(), RtnPrefixIsValid(), RtnPrefixSet()
property SQLName as %RawString;
A string containing the SQL name of the package.
Property methods: SQLNameGet(), SQLNameIsValid(), SQLNameSet()
property list as %ListOfDataTypes [ Transient ];
Property methods: listGet(), listGetObject(), listGetObjectId(), listGetSwizzled(), listIsEmpty(), listIsValid(), listNewObject(), listSet(), listSetObject(), listSetObjectId(), listUnSwizzle()

Methods

method GetPackageList() as %ListOfDataTypes [ Language = objectscript ]
classmethod SubPackageClose(QHandle As %Binary) as %Status [ Language = objectscript ]
classmethod SubPackageExecute(ByRef QHandle As %Binary, SuperPackage As %String) as %Status [ Language = objectscript ]
classmethod SubPackageFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
Fetch returns the next row in the query.
classmethod SubPackageFetchRows(ByRef QHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer) as %Status [ Language = objectscript ]
RoutineListFetchRows returns the next FetchCount rows in the query.

Queries

query SubPackage()
Selects Name
The SumPackage query provides a list of sub-package names. This query works in a hierarchical way, it returns only one level of sub-package under a specified SuperPackage name.

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (%Library.AbstractDefinition)

^%Library.AbstractDefinitionD(ID)
=
%%CLASSNAME
FeedbackOpens in a new window