ValidationController Class

Definition

groups logic for sdm model validtion.

public ref class ValidationController
public class ValidationController
type ValidationController = class
Public Class ValidationController
Inheritance
ValidationController
Derived

Constructors

ValidationController()

constructor

Properties

ErrorMessages

gets a copy of all the active error and fatal messages.

FatalMessages

gets a copy of all the active fatal messages.

IncludeLinkedExtensionElements

Indicates whether ExtensionElements linked to the ModelElements being validated should also be validated.

InformationalMessages

gets a copy of all the active informational messages.

ValidationExtensionRegistrar

Property for ValidationExtension Registrar

ValidationMessages

gets a copy of all the active error/warning/message messages.

WarningMessages

gets a copy of all the active warning messages.

Methods

AddObserver(ValidationMessageObserver)

Add observer to validation message updates...

ClearMessages()

clears all messages an notifies observers

CreateValidationContext(IEnumerable<ModelElement>, String[])

Provide a context class for the validation

CreateValidationContext(IEnumerable<ModelElement>, ValidationCategories)

Provide a context class for the validation

GetExtensionElements(IEnumerable<ModelElement>)

Calculates and returns a list of extension elements that should be included in the list of elements being validated

RemoveObserver(ValidationMessageObserver)

Remove observer to validation message updates...

Validate(IEnumerable<ModelElement>, ValidationCategories)

Do validation for a set of elements based on the validation categories

Validate(ModelElement, ValidationCategories)

Do validation for a single element

Validate(Partition, ValidationCategories)

Validate the whole store

Validate(Store, ValidationCategories)

Validate the whole store

ValidateCustom(IEnumerable<ModelElement>, String[])

Do validation for a set of elements based on the customCategories specified strings

ValidateCustom(ModelElement, String[])

Do validation for a single element

ValidateCustom(Partition, String[])

Validate the whole partition

ValidateCustom(Store, String[])

Validate the whole store

Applies to