Class CaiModelValidator

java.lang.Object
com._1c.g5.v8.dt.cai.CaiModelValidator

public class CaiModelValidator extends Object
Client Application Interface model validator
  • Constructor Details

    • CaiModelValidator

      public CaiModelValidator(Version projectVersion)
      Create a instance of CaiModelValidator
      Parameters:
      projectVersion - the version of current Configuration project, cannot be null
  • Method Details

    • validate

      public org.eclipse.core.runtime.IStatus validate(org.eclipse.emf.ecore.EObject modelObject)
      Validate specified model object.
      Parameters:
      modelObject - the model object to validate, cannot be null
      Returns:
      IStatus of model validation, never null
      Throws:
      IllegalArgumentException - if specified object is not from ClientApplicationInterface model package