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 typeMethod Inventory
- GetSourceDocType()
- GetSourceType()
- GetTargetDocType()
- GetTargetType()
- Transform()
- instantiateProps()
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.
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.
Inherited Members
Inherited 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()
- If()
- In()
- InFile()
- InFileColumn()
- IntersectsList()
- Length()
- Like()
- Lookup()
- Matches()
- Max()
- Min()
- Not()
- NotIn()
- NotInFile()
- NotLike()
- Pad()
- Piece()
- ReplaceStr()
- Round()
- Rule()
- Schedule()
- StartsWith()
- Strip()
- SubString()
- ToLower()
- ToUpper()
- Translate()
- replace()