BiProjectValidationEngine Class [AX 2012]

The BiProjectValidationEngine class is used as the engine to run validation before generating a SQL ServerAnalysis Services project.

Syntax

class BiProjectValidationEngine

Run On

Called

Methods

  Method Description
Gg768576.pubmethod(en-us,AX.60).gif biProjectValidationResults Gets or sets the value of the biProjectValidationResults property.
Gg768576.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif new Initializes a new instance of the BiProjectValidationEngine class.
Gg768576.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif performValidation Iterates through every registered validation classes and executes their validate method.
Gg768576.pubmethod(en-us,AX.60).gif projectPerspectiveTreeNodes Gets or sets the value of the projectPerspectiveTreeNodes property.
Gg768576.pubmethod(en-us,AX.60).gif registerValidationClasses Use this method to add new custom validation classes that extend from BiProjectValidationBase to the validation process.
Gg768576.pubmethod(en-us,AX.60).gif registerValidator Adds a BiProjectValidationBase object to the registered list of validation classes.
Gg768576.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg768576.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)

Top

Remarks

If a custom validation is to be performed when generating a SQL ServerAnalysis Services project then the developer should:

  1. Create a new class and have that class extend from the BiProjectValidationBase class.

  2. Add the appropriate validation logic to the class created in the first step.

  3. Modify the registerValidationClasses method of this class by adding a new call to register the new class as a validation class so that the engine makes the necessary calls at runtime so that the validation logic is executed. This is performed by adding the following line to the registerValidationClasses method: this.registerValidator(new customProjectValidator()); where customProjectValidator is the name of the class that is created in step 1.

Inheritance Hierarchy

Object Class
  BiProjectValidationEngine Class