Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%iKnow] >  [KB] >  [Rule]
Private  Storage   

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 14 1


Summary

Properties
Comment GUID IdCSV InputPattern Knowledgebase
OutputPattern Phase Precedence

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %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
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject AddLabelToLexrep
DeleteByKBName GetInputPattern GetOutputPattern GetPrecedence
HasPrefix ImportFromStream InputPatternGet InputPatternSet
LabelStringToName Obfuscate OutputPatternGet OutputPatternSet
ReadAsList TransformRulePattern Unobfuscate UnobfuscateElement
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property Comment as %String(MAXLEN=256,XMLPROJECTION="ATTRIBUTE");
• property IdCSV as %Integer(XMLPROJECTION="ATTRIBUTE") [ InitialExpression = 0,Required ];
• property InputPattern as %String(MAXLEN=256,XMLPROJECTION="ATTRIBUTE") [ Required ];
• property Knowledgebase as Knowledgebase [ Required ];
• property OutputPattern as %String(MAXLEN=256,XMLPROJECTION="ATTRIBUTE") [ Required ];
• property Phase as %String(XMLPROJECTION="ATTRIBUTE");
• property Precedence as %Integer(XMLPROJECTION="ATTRIBUTE") [ Required ];

Methods

• classmethod AddLabelToLexrep(kb As Knowledgebase, token As %String, label As %String)
• classmethod DeleteByKBName(kbName As %String)
• method GetInputPattern() as %String
• method GetOutputPattern() as %String
• method GetPrecedence() as %Integer
• classmethod HasPrefix(labelString As %String) as %Boolean
True if rule label string has a prefix character
• classmethod ImportFromStream(stream As %CharacterStream, kb As Knowledgebase)
• method InputPatternGet() as %String
This is a Get accessor method for the InputPattern property.
• method InputPatternSet(pattern As %String) as %Status
This is a Set accessor method for the InputPattern property.
• classmethod LabelStringToName(labelString As %String)
Removes special rule control characters from a label string
• method OutputPatternGet() as %String
This is a Get accessor method for the OutputPattern property.
• method OutputPatternSet(pattern As %String) as %Status
This is a Set accessor method for the OutputPattern property.
• classmethod ReadAsList(id As %Integer) as %List
• classmethod TransformRulePattern(pattern As %String, phase As %Integer, kb As Knowledgebase, ByRef newLabels, ByRef newLabelsIndex, ByRef SBeginPhases As %List, ByRef SEndPhases As %List) as %String
Transforms a rule pattern, converting literals like "be" into actual label/lexrep pairs.

Indices

•index (KnowledgebaseIndex on Knowledgebase,Precedence) [Unique];


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