The semi-public (internal-public) package defining the API for providers of
validation algorithms to the Model Services Layer (MSL).
Package Specification
This package defines the service provider API for the validation in the MSL.
The main types involved are:
- {@link com.ibm.xtools.emf.msl.internal.validation.IValidator}:
the contract implemented by objects that provide the validation function.
The {@link com.ibm.xtools.emf.msl.internal.validation.DefaultValidator}
class provides a convenient superclass for validator implementations
- {@link com.ibm.xtools.emf.msl.internal.validation.ValidationStatus}:
a convenient implementation of the
{@link com.ibm.xtools.emf.msl.IValidationStatus} interface, for
validators to instantiate to report problems
Validation is invoked internally by the MSL via the
{@link com.ibm.xtools.emf.msl.internal.validation.ValidationUtil} class. This
class is not intended to be used by clients of the MSL, nor by validator
implementations. Invocation of validation should be performed through the
public API facilities defined on the following classes:
- {@link com.ibm.xtools.emf.msl.MSL#validateObjects}: validates a
collection of {@link org.eclipse.emf.ecore.EObject}s in batch mode
- {@link com.ibm.xtools.emf.msl.MSL#runWriteOperation}: performs an
update to the model with live validation
@see com.ibm.xtools.emf.msl