Home > Class Reference > ENSLIB namespace > Ens.DataTransform

Ens.DataTransform

abstract class Ens.DataTransform extends %Library.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

Method Inventory

Methods

classmethod GetSourceDocType() as %String [ Language = objectscript ]
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 ]
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 ]
abstract classmethod Transform(source As %RegisteredObject, ByRef target As %RegisteredObject, ByRef aux) as %Status [ Language = objectscript ]
Transform an input object into an output object
classmethod instantiateProps(pTopObj As %RegisteredObject, pVarName As %String, pVarArgs...) as %Boolean [ Language = objectscript ]
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.

Inherited Members

Inherited Methods

Subclasses