## Uses of Interface
org.eclipse.emf.validation.model.IModelConstraint

Packages that use IModelConstraint
org.eclipse.emf.validation.model: Types defining the "data model" of the EMF Validation plug-in, in most cases mapping directly to constructs in the `constraintProviders` extension point schema.
org.eclipse.emf.validation.ocl
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.
org.eclipse.emf.validation.xml: The API for specification and processing of constraints in XML.

Uses of IModelConstraint in org.eclipse.emf.validation.model

Classes in org.eclipse.emf.validation.model that implement IModelConstraint
`class` `ModelConstraint` An abstract model constraint implementation.

Methods in org.eclipse.emf.validation.model that return IModelConstraint
`IModelConstraint` `IConstraintStatus.getConstraint()` Obtains the constraint which either succeeded or failed, according to what I have to say.
`IModelConstraint` `ConstraintStatus.getConstraint()` Obtains the constraint which either succeeded or failed, according to what I have to say.

Constructors in org.eclipse.emf.validation.model with parameters of type IModelConstraint
`ConstraintStatus(IModelConstraint constraint, EObject target)` Initializes me as a successful execution of the specified `constraint`.
`ConstraintStatus(IModelConstraint constraint, EObject target, int severity, int code, String message, Set<? extends EObject> resultLocus)` Constructor that explicitly initializes all of my parts.
`ConstraintStatus(IModelConstraint constraint, EObject target, String message, Set<? extends EObject> resultLocus)` Initializes me as a failure of the specified `constraint` with a `message` to be displayed somehow to the user.

Uses of IModelConstraint in org.eclipse.emf.validation.ocl

Classes in org.eclipse.emf.validation.ocl that implement IModelConstraint
`class` `AbstractOCLModelConstraint<C,CT,CLS,E>` An OCL-language implementation of the `IModelConstraint` interface.

Uses of IModelConstraint in org.eclipse.emf.validation.service

Methods in org.eclipse.emf.validation.service that return IModelConstraint
`protected abstract IModelConstraint` `ConstraintFactory.createConstraint(IConstraintDescriptor descriptor)` Implemented by subclasses to do the hard work of creating a constraint.
`protected abstract IModelConstraint` `ConstraintFactory.createConstraint(IXmlConstraintDescriptor descriptor)` Deprecated. Use the `ConstraintFactory.createConstraint(IConstraintDescriptor)` method, instead
`protected IModelConstraint` `AbstractConstraintProvider.createModelConstraint(IConstraintDescriptor descriptor)` Creates the model constraint implementation from the descriptor.
`protected IModelConstraint` `AbstractConstraintProvider.createModelConstraintProxy(IConstraintDescriptor descriptor)` Creates a contraint proxy which lazily initializes the actual constraint implementation represented by the given descriptor.
`IModelConstraint` `ConstraintFactory.newConstraint(IConstraintDescriptor descriptor)` Creates the constraint represented by the specified `descriptor`.
`IModelConstraint` `ConstraintFactory.newConstraint(IXmlConstraintDescriptor descriptor)` Deprecated. Use the `ConstraintFactory.newConstraint(IConstraintDescriptor)` method, instead
`IModelConstraint` `IParameterizedConstraintParser.parseConstraint(IParameterizedConstraintDescriptor descriptor)` Parses the content of a constraint `descriptor` (including parameters) to create an implementation of the model constraint interface.

Methods in org.eclipse.emf.validation.service that return types with arguments of type IModelConstraint
`Collection<IModelConstraint>` `IModelConstraintProvider.getBatchConstraints(EObject eObject, Collection<IModelConstraint> constraints)` Obtains a collection of batch `IModelConstraint`s which will be used to validate an `eObject` on demand.
`Collection<IModelConstraint>` `AbstractConstraintProvider.getBatchConstraints(EObject eObject, Collection<IModelConstraint> constraints)`
`protected List<IModelConstraint>` `AbstractConstraintProvider.getConstraints()` Obtains my constraints.
`Collection<IModelConstraint>` `IModelConstraintProvider.getLiveConstraints(Notification notification, Collection<IModelConstraint> constraints)` Obtains a collection of live `IModelConstraint`s that will be used to validate an EMF `notification` on committing a transaction on a model.
`Collection<IModelConstraint>` `AbstractConstraintProvider.getLiveConstraints(Notification notification, Collection<IModelConstraint> constraints)`

Methods in org.eclipse.emf.validation.service with parameters of type IModelConstraint
`void` `ModelValidationService.replaceInCache(IModelConstraint oldConstraint, IModelConstraint newConstraint)` Replaces a constraint in the cache with an alternative implementation.

Method parameters in org.eclipse.emf.validation.service with type arguments of type IModelConstraint
`Collection<IModelConstraint>` `IModelConstraintProvider.getBatchConstraints(EObject eObject, Collection<IModelConstraint> constraints)` Obtains a collection of batch `IModelConstraint`s which will be used to validate an `eObject` on demand.
`Collection<IModelConstraint>` `AbstractConstraintProvider.getBatchConstraints(EObject eObject, Collection<IModelConstraint> constraints)`
`Collection<IModelConstraint>` `IModelConstraintProvider.getLiveConstraints(Notification notification, Collection<IModelConstraint> constraints)` Obtains a collection of live `IModelConstraint`s that will be used to validate an EMF `notification` on committing a transaction on a model.
`Collection<IModelConstraint>` `AbstractConstraintProvider.getLiveConstraints(Notification notification, Collection<IModelConstraint> constraints)`
`protected void` `AbstractConstraintProvider.registerConstraints(Collection<? extends IModelConstraint> constraints)` Bulk-registers the specified constraints so that they are accessible to applications via the `ConstraintRegistry` and are visible in the preferences UI.

Uses of IModelConstraint in org.eclipse.emf.validation.xml

Methods in org.eclipse.emf.validation.xml that return IModelConstraint
`IModelConstraint` `IXmlConstraintParser.parseConstraint(IXmlConstraintDescriptor descriptor)` Deprecated. Parses the XML content of a constraint `descriptor` to create an implementation of the model constraint interface.

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