Skip to main content

ValidationOptions Interface

Namespace: NextDesign.Core

Description

Validation options for error checking.

Belonging Area

NameDescription
ModelA group of APIs to access the model.

Property

NameDescription
ErrorFilterGets or sets the error code to be validated.
Evaluates with other options using OR conditions.
The error codes that can be set are as follows.
- System.Metamodel.UpperBound
- System.Metamodel.LowerBound
- System.Metamodel.PathConstraints
- System.ProductLine.FeatureFormula
- System.ProductLine.FeatureUniqueness
- System.ProductLine.FeatureConstraints
- System.ProductLine.FeatureStructure
- System.ProductLine.ProductConfiguration
RaiseValidateEventsGets or sets whether to issue events when the model is validated.
The default value is true.
If false is specified, events when the model is validated will not be issued.
RecursiveGets or sets whether to validate child elements recursively.
The default value is true.
ValidateMetamodelConstraintsGets or sets whether to perform metamodel consistency validation (multiplicity validation, path constraint validation).
The default value is true.
ValidateProductLineConstraintsGets or sets whether to perform product line consistency validation (feature condition expression validation, feature structure validation, inter-feature constraint validation, feature uniqueness validation, product configuration validation).
The default value is true.