Skip to main content

%iKnow.TextTransformation.Model.Model

Class %iKnow.TextTransformation.Model.Model Extends node [ Deprecated, System = 3 ]

Root element for specifying a Text Transformation model. See also %iKnow.TextTransformation.Definition.

Properties

name

Property name As %String(XMLPROJECTION = "ATTRIBUTE");

Logical name for this model

outputClass

Property outputClass As %String(XMLPROJECTION = "ATTRIBUTE");

Name of the output class to be populated when executing this model. This class should inherit from %iKnow.TextTransformation.Output and, the model is to be applied in batch, also from %Persistent.

Operations

Property Operations As list Of Operation(XMLITEMNAME = "Operation", XMLPROJECTION = "WRAPPED");

Ordered list of atomic annotate and transform operations that make up this model.

KeySet

Property KeySet As SetReference;

Reference to a set of candidate key strings for identifying key-value pairs.

HeaderSet

Property HeaderSet As SetReference;

Reference to a set of candidate header strings for identifying sections.

Methods

%ToString

Method %ToString(Output pString As %String, pFormatted As %Boolean = 1) As %Status

%SaveToClass

Method %SaveToClass(pClassName As %String, pOverwriteExisting As %Boolean = 1, pVerbose As %Boolean = 0, pCompile As %Boolean = 1) As %Status