Skip to main content

%XSQL.System.Message

SQL Table Name: %XSQL_System.Message

xSQL System message class. Each message is identified by a domain and a messageId.

Property Inventory

Method Inventory

Properties

property Code as %Integer (XMLPROJECTION = "ATTRIBUTE") [ Required ];
Property methods: CodeDisplayToLogical(), CodeGet(), CodeIsValid(), CodeLogicalToDisplay(), CodeNormalize(), CodeSet(), CodeXSDToLogical()
property Description as %String (MAXLEN = 255);
Property methods: DescriptionDisplayToLogical(), DescriptionGet(), DescriptionIsValid(), DescriptionLogicalToDisplay(), DescriptionLogicalToOdbc(), DescriptionNormalize(), DescriptionSet()
property MessageDomain as %String (XMLPROJECTION = "ATTRIBUTE") [ Required ];
Property methods: MessageDomainDisplayToLogical(), MessageDomainGet(), MessageDomainIsValid(), MessageDomainLogicalToDisplay(), MessageDomainLogicalToOdbc(), MessageDomainNormalize(), MessageDomainSet()
property Severity as %Integer (MAXVAL = 25, MINVAL = 0);
Property methods: SeverityDisplayToLogical(), SeverityGet(), SeverityIsValid(), SeverityLogicalToDisplay(), SeverityNormalize(), SeveritySet(), SeverityXSDToLogical()

Methods

classmethod %GetMessageText(pDomain As %String, pCode As %Integer) as %String

Indexes

index (MSG on MessageDomain,Code) [IdKey, Type = key];
Index methods: MSGCheck(), MSGDelete(), MSGExists(), MSGOpen(), MSGSQLCheckUnique(), MSGSQLExists(), MSGSQLFindPKeyByConstraint(), MSGSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Storage Model: CacheSQLStorage

Maps: 1

  • Map number 1 is named Master

    thismap.Global: ^%qCacheSQL

  • ^%qCacheSQL("m",{MessageDomain},{Code})
    =
    Node Delimiter Piece Name
    1 Description
    2 Severity
FeedbackOpens in a new tab