Ens.DataTransform

abstract class Ens.DataTransform extends %RegisteredObject, Ens.Util.FunctionSet

This class provides the framework for encoding a series of operations which transform a specified input type to a specfied output type

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6

Summary

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Contains ConvertDateTime CurrentDateTime DoesNotContain
DoesNotIntersectList DoesNotMatch DoesNotStartWith Exists
GetSourceDocType GetSourceType GetTargetDocType GetTargetType
If In InFile InFileColumn
IntersectsList Length Like Lookup
Matches Max Min Not
NotIn NotInFile NotLike Pad
Piece RegexMatch ReplaceStr Round
Rule Schedule StartsWith Strip
SubString ToLower ToUpper Transform
Translate instantiateProps replace
Subclasses
Ens.DataTransformDTL

Methods

classmethod GetSourceDocType() as %String
Return the virtual document type of the source document. This is used by the Test Transform dialog to determine whether the initial document should have a DocType assigned. A return value of the empty string (i.e. "") indicates no DocType should be used.
classmethod GetSourceType() as %String
classmethod GetTargetDocType() as %String
Return the virtual document type of the target document. This is used by the Test Transform dialog to determine whether the document produced by the transform should have a DocType assigned. A return value of the empty string (i.e. "") indicates no DocType should be used.
classmethod GetTargetType(Output pCreate As %String) as %String
abstract classmethod Transform(source As %RegisteredObject, ByRef target As %RegisteredObject, ByRef aux) as %Status
Transform an input object into an output object
classmethod instantiateProps(pTopObj As %RegisteredObject, pVarName As %String, pVarArgs...) as %Boolean
Instantiates intermediate objects, collections and collection elements on the pVarName path, but does not do collection elements at the final level. Use Action=insert for that. Note: uses parallel construction to Ens.BPL.Transform.isProperty(); depends on pVarName having passed that test first.
Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA