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

persistent class %Library.PackageDefinition extends %AbstractDefinition

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
8 10 1


Summary

Properties
ClientName Description GlobalPrefix Name OwnerName
RtnPrefix SQLName list

Methods
%AddToSaveSet %AddToSyncSet %BuildIndices %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
%IsA %IsModified %IsNull %KillExtent
%LockExtent %LockId %New %NormalizeObject
%ObjectIsNull %ObjectModified %Oid %OnBeforeAddToSync
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject GetPackageList GetTransientState
SetTransientState SubPackageClose SubPackageExecute SubPackageFetch
SubPackageFetchRows lb li ll


Properties

• property ClientName as %RawString;
A string containing the client name of the package.
• property Description as %RawString;
A string containing the description of the package.
• property GlobalPrefix as %RawString;
A string containing the global prefix of the package, used for data, id, and index locations.
• property Name as %RawString;
A string containing the name of the package.
• property OwnerName as %RawString;
A string containing the Owner's name of the package.
• property RtnPrefix as %RawString;
A string containing the routine prefix of the package.
• property SQLName as %RawString;
A string containing the SQL name of the package.
• property list as %ListOfDataTypes [ Transient ];

Methods

• method GetPackageList() as %ListOfDataTypes
• classmethod SubPackageClose(QHandle As %Binary) as %Status
• classmethod SubPackageExecute(ByRef QHandle As %Binary, SuperPackage As %String) as %Status
• classmethod SubPackageFetch(ByRef QHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
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
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.


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