Class CaiModelValidator


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

      • CaiModelValidator

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

      • 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