Ens.DTL.Transform
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 classProperty Inventory
- Actions
- Create
- IgnoreMissingSource
- Language
- ReportErrors
- SourceClass
- SourceDocType
- TargetClass
- TargetDocType
- TreatEmptyAsNull
Method Inventory
- Deserialize()
- DisabledSet()
- DisplayName()
- ExpandedSet()
- GenerateCode()
- GenerateXML()
- Serialize()
- Validate()
- decoratePropString()
- getPropsArgs()
- primaryDocType()
Properties
property Actions as Ens.DTL.ActionList;
This holds the actions to be performed on the arguments
Property methods: ActionsGet(), ActionsGetSwizzled(), ActionsIsValid(), ActionsNewObject(), ActionsSet()
property Create as %String (MAXLEN = 20, VALUELIST = ",new,copy,existing") [ InitialExpression = "new" , Required ];
This determines how the new target object should be created.
Property methods: CreateDisplayToLogical(), CreateGet(), CreateIsValid(), CreateLogicalToDisplay(), CreateLogicalToOdbc(), CreateNormalize(), CreateSet()
property IgnoreMissingSource as %String [ InitialExpression = 1 ];
This holds the value of the IGNOREMISSINGSOURCE parameter so it can be edited in the UI
Property methods: IgnoreMissingSourceDisplayToLogical(), IgnoreMissingSourceGet(), IgnoreMissingSourceIsValid(), IgnoreMissingSourceLogicalToDisplay(), IgnoreMissingSourceLogicalToOdbc(), IgnoreMissingSourceNormalize(), IgnoreMissingSourceSet()
property Language as %String [ InitialExpression = $$$objectscript ];
This holds the language of the class
Property methods: LanguageDisplayToLogical(), LanguageGet(), LanguageIsValid(), LanguageLogicalToDisplay(), LanguageLogicalToOdbc(), LanguageNormalize(), LanguageSet()
property ReportErrors as %String [ InitialExpression = 1 ];
This holds the value of the REPORTERRORS parameter so it can be edited in the UI
Property methods: ReportErrorsDisplayToLogical(), ReportErrorsGet(), ReportErrorsIsValid(), ReportErrorsLogicalToDisplay(), ReportErrorsLogicalToOdbc(), ReportErrorsNormalize(), ReportErrorsSet()
property SourceClass as %String (MAXLEN = 128) [ Required ];
This holds the type of the source object
Property methods: SourceClassDisplayToLogical(), SourceClassGet(), SourceClassIsValid(), SourceClassLogicalToDisplay(), SourceClassLogicalToOdbc(), SourceClassNormalize(), SourceClassSet()
property SourceDocType as %String (MAXLEN = 128);
This holds the optional document type of the source object
Property methods: SourceDocTypeDisplayToLogical(), SourceDocTypeGet(), SourceDocTypeIsValid(), SourceDocTypeLogicalToDisplay(), SourceDocTypeLogicalToOdbc(), SourceDocTypeNormalize(), SourceDocTypeSet()
property TargetClass as %String (MAXLEN = 128) [ Required ];
This holds the type of the target object
Property methods: TargetClassDisplayToLogical(), TargetClassGet(), TargetClassIsValid(), TargetClassLogicalToDisplay(), TargetClassLogicalToOdbc(), TargetClassNormalize(), TargetClassSet()
property TargetDocType as %String (MAXLEN = 128);
This holds the optional document type of the target object
Property methods: TargetDocTypeDisplayToLogical(), TargetDocTypeGet(), TargetDocTypeIsValid(), TargetDocTypeLogicalToDisplay(), TargetDocTypeLogicalToOdbc(), TargetDocTypeNormalize(), TargetDocTypeSet()
property TreatEmptyAsNull as %Boolean [ InitialExpression = 0 ];
This holds the value of the TREATEMPTYREPEATINGFIELDASNULL parameter so it can be edited in the UI
Property methods: TreatEmptyAsNullDisplayToLogical(), TreatEmptyAsNullGet(), TreatEmptyAsNullIsValid(), TreatEmptyAsNullLogicalToDisplay(), TreatEmptyAsNullNormalize(), TreatEmptyAsNullSet()
Methods
Fill in properties of this item from the serial string
Disabled can not be set for a transform.
method DisplayName() as %String
Provide a user readable string which names the activity
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
Inherited description: Perform a sanity check on the nodes in the parse tree
add implicit GetAt() / GetPrevious() names explicitly to match what instantiateProps() supports.
Returns a string representing a code-generated list of arguments to GetAt() invocations in the pVarName string passed to instantiateProps().
Internal method to return DocType if child doc names also specified.
Inherited Members
Inherited Properties
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()
- NormalizeAttribute()
- WriteAnnotationXML()
- WriteExpandedAttribute()