Class Reference
IRIS for UNIX 2024.1.2
InterSystems: The power behind what matters   
Documentation  Search
  [USER] >  [%IPM] >  [General] >  [SASchema]
Private  Storage   

class %IPM.General.SASchema extends %Studio.SASchemaClass

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Methods
Display GetAttrsForClass GetElementsForClass GetSchemaForClasses
GetXMLElementsForClass GetXMLNameForClass HandleClassElements Install
IsUpToDate OutputToFile OutputToStream SchemaToPrefix
XMLName2DisplayName XMLName2NameSpace XMLName2ShortName


Parameters

• parameter ROOTCLASSES = "%IPM.Storage.Module:Module";
This is a comma-separated list of the classes whose xml elements can be used as the root level element of a document separated with a ':' and the XML tag name to correlate this with e.g. "User.Person:person,User.Company:company".
• parameter XMLNAMESPACE = "http://www.intersystems.com/PackageManager";
This is the namespace value used to identify this SA schema. This corresponds to the XMLNamespace keyword of a Studio XData block.

Methods

• classmethod Display()
Outputs the schema to the current device. Useful for testing/debugging.
• classmethod GetElementsForClass(pClass As %String, Output pElementList, Output pReferencedClasses, Output pXMLNameAliases) as %Status
Overridden to handle list collections and relationships
• classmethod GetSchemaForClasses(ByRef pClassList As %String) as %Status
Overridden to handle wrapped collections and relationships
• classmethod HandleClassElements(pCurrentNS As %String, pDefaultNS As %String, pTopName As %String, pClass As %String, Output pLocalList, ByRef pRefClasses, ByRef pElementList) as %Status
• classmethod Install() as %Status


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