java.lang.Object
org.palladiosimulator.generator.fluent.shared.validate.ModelValidator
All Implemented Interfaces:
IModelValidator

public class ModelValidator extends Object implements IModelValidator
  • Constructor Details

    • ModelValidator

      public ModelValidator(Logger logger)
  • Method Details

    • validate

      public boolean validate(EObject eObject, String name)
      Validates an EObject using a Diagnostician. If the validation is not ok, the result is printed to the console. A name can be specified to enhance the console output.
      Specified by:
      validate in interface IModelValidator
      Parameters:
      eObject - the object to validate
      name - the name of the object
      Returns:
      true if the validation was ok, false otherwise.
      See Also: