Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [DTL] >  [Transform]
Private  Storage   

class Ens.DTL.Transform extends Ens.DTL.Action, Ens.Util.PortalModelBase

This class represents the data transform specification. It is the root node of the parse tree derived from the XDATA DTL Specification defined in the DataTransformation class

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
10 11


Summary

Properties
Actions Annotation Create Disabled
Expanded IgnoreMissingSource Language Parent
ReadOnly ReportErrors SourceClass SourceDocType
TargetClass TargetDocType Timestamp TreatEmptyAsNull

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
Deserialize DisabledSet DisplayName ExpandedSet
GenerateCode GenerateXML NormalizeAttribute Serialize
Validate WriteAnnotationXML WriteExpandedAttribute decoratePropString
getPropsArgs


Properties

• property Actions as Ens.DTL.ActionList;
This holds the actions to be performed on the arguments
• property Create as %String(MAXLEN=20,VALUELIST=",new,copy,existing") [ InitialExpression = "new",Required ];
This determines how the new target object should be created.
• property IgnoreMissingSource as %String [ InitialExpression = 1 ];
This holds the value of the IGNOREMISSINGSOURCE parameter so it can be edited in the UI
• property Language as %String [ InitialExpression = $$$objectscript ];
This holds the language of the class
• property ReportErrors as %String [ InitialExpression = 1 ];
This holds the value of the REPORTERRORS parameter so it can be edited in the UI
• property SourceClass as %String(MAXLEN=128) [ Required ];
This holds the type of the source object
• property SourceDocType as %String(MAXLEN=128);
This holds the optional document type of the source object
• property TargetClass as %String(MAXLEN=128) [ Required ];
This holds the type of the target object
• property TargetDocType as %String(MAXLEN=128);
This holds the optional document type of the target object
• property TreatEmptyAsNull as %Boolean [ InitialExpression = 0 ];
This holds the value of the TREATEMPTYREPEATINGFIELDASNULL parameter so it can be edited in the UI

Methods

• method Deserialize(pState As %String) as %Status
Fill in properties of this item from the serial string
• method DisabledSet(pVal As %Boolean) as %Status
Disabled can not be set for a transform.
• method DisplayName() as %String
Provide a user readable string which names the activity
• method ExpandedSet(pVal As %Boolean) as %Status
This is a Set accessor method for the Expanded property.
• method GenerateCode(pCompiler As Ens.DTL.Compiler) as %Status
• method GenerateXML(pStream As %BinaryStream) as %Status
Expanded can not be set for a transform.
• method Serialize(pStream As %CharacterStream) as %Status
Serialize this transform for use by DTL editor
• method Validate(ByRef pStatus As %Status, pContext As Ens.DTL.ValidationContext) as %Status
Perform a sanity check on the nodes in the parse tree
• classmethod decoratePropString(pVarName As %String) as %String
add implicit GetAt() / GetPrevious() names explicitly to match what instantiateProps() supports.
• classmethod getPropsArgs(pVarName As %String) as %String
Returns a string representing a code-generated list of arguments to GetAt() invocations in the pVarName string passed to instantiateProps().


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.