Validation

org.topcased.validation.core
Class ModelValidator

java.lang.Object
  extended by org.topcased.validation.core.ModelValidator

public class ModelValidator
extends java.lang.Object

Class that validates an EMF model using registered validators from the org.topcased.validation.core.validators extension point.
creation : 13 janv. 2006


Constructor Summary
ModelValidator()
           
 
Method Summary
 Diagnostic validate(EObject model, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
          Validate an EObject with several kind of validation (EMF, OCL...)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelValidator

public ModelValidator()
Method Detail

validate

public Diagnostic validate(EObject model,
                           org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Validate an EObject with several kind of validation (EMF, OCL...)

Parameters:
model - the EObject to validate
progressMonitor - the progress bar
Returns:
the list of diagnostics

Validation

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.