AdsValidationBase method: AdsValidationBase class

Syntax

AdsValidationBase(project_name)

Description

This is the base class constructor supplied by Oracle. If the ADS definition does not specify an application class, this constructor will be automatically invoked when ADS projects are copied or compared. If the ADS definition does specify an application class, the constructor of the specified class will be automatically invoked when ADS projects are copied or compared. In the latter case, the derived class constructor must invoke this constructor as a %Super.

Parameters

Parameter Description

project_name

Specifies the data migration project name as a string.

Returns

None.

Example

Use this methodology to instantiate a subclass to perform extended validations:

import PTADSDEFN:AdsValidationBase;

class ADSValidations1 implements PTADSDEFN:AdsValidationBase;
   method ADSValidations1(&ProjectName As string);
end-class;

/* constructor */

method ADSValidations1
   /+ &ProjectName as String +/
   %Super = create PTADSDEFN:AdsValidationBase(&ProjectName);
end-method;

Related Topics