Package com._1c.g5.v8.dt.cai
Class CaiModelValidator
java.lang.Object
com._1c.g5.v8.dt.cai.CaiModelValidator
Client Application Interface model validator
-
Constructor Summary
ConstructorsConstructorDescriptionCaiModelValidator
(Version projectVersion) Create a instance ofCaiModelValidator
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IStatus
validate
(org.eclipse.emf.ecore.EObject modelObject) Validate specified model object.
-
Constructor Details
-
CaiModelValidator
Create a instance ofCaiModelValidator
- Parameters:
projectVersion
- the version of current Configuration project, cannot benull
-
-
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 benull
- Returns:
IStatus
of model validation, nevernull
- Throws:
IllegalArgumentException
- if specified object is not fromClientApplicationInterface
model package
-