Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method GetIntegrationObjects ( 
 | 
  LibDIF_DataTransformation dataTransformation_i, 
 | 
  String context_i 
 | 
) as owning LibDIO_IntegrationObjects 
 | 
{ 
 | 
  Description: 
 | 
  [* 
 | 
    Get the integration objects that are relevant for the provided DataTransformation, if applicable in the provided context. 
 | 
    These integration objects can then be transformed to model objects, or be deleted before a new import. 
 | 
  *] 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Call the method that must be overridden and implemented at the Implementation Level. 
 | 
    integrationObjects := this.DoGetIntegrationObjects( dataTransformation_i, context_i ); 
 | 
     
 | 
    // Raise an error if the method was not implemented for the DataTransformation. 
 | 
    if( isnull( integrationObjects ) ) 
 | 
    { 
 | 
      LibDIF_Util::Error( this.DefinitionName() + ".DoGetIntegrationObjects() is not implemented for DataTransformation '" + dataTransformation_i.DefinitionName() + "' | ID = '" + dataTransformation_i.ID() + "'" ); 
 | 
    } 
 | 
     
 | 
    return &integrationObjects; 
 | 
  *] 
 | 
} 
 |