Home > Class Reference > ENSLIB namespace > Ens.DataTransformDTL

Ens.DataTransformDTL

abstract class Ens.DataTransformDTL extends Ens.DataTransform

This class provides the framework for defining a data transformation by encoding the operations in the data transform language (DTL)

Parameters

parameter IGNOREMISSINGSOURCE = 0;
Override this parameter to 1 in your DTL subclass to make it ignore errors resulting from an attempt to use a value from a source property or virtual property that does not exist in the provided source object
parameter REPORTERRORS = 0;
Override this parameter to 1 in your DTL subclass to make it log and return all errors encountered while executing the transform. When this parameter is set to 0 the DTL will silently log them as Trace messages with category 'xform'.
parameter TREATEMPTYREPEATINGFIELDASNULL = 0;
Override this parameter to 1 in your DTL subclass to prevent 'for each' loops from being implemented when the property to iterate over is a repeating field and that field is empty

Methods

classmethod GetSourceDocType() as %String [ Language = objectscript ]
Inherited description: 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 [ Language = objectscript ]
classmethod GetTargetDocType() as %String [ Language = objectscript ]
Inherited description: 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 [ Language = objectscript ]
classmethod Transform(source As %RegisteredObject, ByRef target As %RegisteredObject, ByRef aux="") as %Status [ Language = objectscript ]
Inherited description: Transform an input object into an output object

Inherited Methods

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

Subclasses

Ens.SSH.InteractiveAuth.DTL Ens.Util.DTL.Audit.MessageView