Package org.eclipse.emf.validation.service

The semi-public (internal-public) package defining the API for invocation of the validation engine and for the implementation of constraint providers.

See:
          Description

Interface Summary
IBatchValidator An IValidator that supports batch-mode validation of EObjects.
IConstraintDescriptor A constraint descriptor provides information about a constraint's role and status in the system.
ILiveValidator An IValidator that supports live-mode validation of Notifications.
IModelConstraintProvider Interface implemented by objects that can provide IModelConstraints to the system for validation of EMF objects.
ITraversalStrategy A strategy for traversal of one or more model sub-trees in batch validation.
IValidationListener Interface implemented by clients who wish to receive notification whenever validation operations are performed.
IValidator A validator validates model elements on behalf of the validation service's clients.
 

Class Summary
AbstractConstraintDescriptor A partial implementation of the IConstraintDescriptor interface that is useful for subclassing.
AbstractConstraintProvider For situations in which the XmlConstraintProvider class does not suffice (i.e., where a plug-in provides constraints dynamically, rather than statically registered in XML), this is a useful class to extend as it provides a partial implementation of the IModelConstraintProvider interface.
AbstractTraversalStrategy An iterator-based partial implementation of the ITraversalStrategy interface.
ConstraintFactory A constraint factory creates constraint implementations from descriptors.
ConstraintRegistry A centralized registry of descriptors for the constraints that are available in the validation system.
ITraversalStrategy.Flat An implementation of the ITraversalStrategy interface that is non-recursive: it simply iterates the root elements.
ITraversalStrategy.Recursive An implementation of the ITraversalStrategy interface that is recursive: it iterates over the content trees of the roots, according to the basic EMF EObject.eAllContents() tree-iterator.
ModelValidationService The Model Validation Service makes constraints and validators available to the client application.
ValidationEvent Event notifying IValidationListeners that a validation operation has occurred.
 

Exception Summary
ConstraintExistsException Constraint thrown to indicate that a constraint descriptor cannot be registered because a constraint is already registered under the same ID.
 

Package org.eclipse.emf.validation.service Description

The semi-public (internal-public) package defining the API for invocation of the validation engine and for the implementation of constraint providers.

Package Specification

This package defines the API for the client and provider sides of the "validation service." The main types involved are:

Some supporting types provide additional functionality and/or controls on the validation engine:


Copyright 2002, 2006 IBM Corporation and others.
All Rights Reserved.