EDMValidator
edm.edom3
Interface EDMValidator
All Superinterfaces:EDMContextDependent, EDMWorker
public interface EDMValidator extends EDMWorker
The result of the validation can either be a text report or a model population. The latter case enables the caller to make his own diagnostic report in his own format.The validation result would then be a population of the EDM_Validation_Result_Schema, that contains all details of the violations detected in the last invocation of the EDMmodelChecker.Â
There exist three options that will influence the amount of information in the validation report produced by this call: NO_PRINT_OUTPUT, DETAILED_OUTPUT and FULL_OUTPUT. A standard validation report will be produced when none of these options are set by a option method. A validation report with more detailed information is produced when DETAILED_OUTPUT is set.A validation report with all available detailed information is produced when the FULL_OUTPUT option is set. If NO_PRINT_OUTPUT is set no diagnostics report will be produced.See Also:EDMConstants.ValidatorOptions
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description void
setGlobalRule(java.lang.String global_rule)
Set a specific global rule to this validatorvoid
setInstanceType(EDMInstance instance_type)
Set a specific instance type to this validatorvoid
setRuleSchema(EDMApplicationSchema rule_schema)
Assign a rule schema to this validatorvoid
setValidationErrorModel(java.lang.Boolean use_errorModel)
Allows the user to use the Validation error modelvoid
setWhereRule(java.lang.String where_rule)
Set a specific where rule to this validatorMethods inherited from interface edm.edom3.EDMWorker
execute, getConfiguration, getFileMappings, getFormalParameters, getHitsOut, getIndexOut, getLogDescription, getOptions, getParameters, getResult, getSource, getTarget, resetOptions, setConfiguration, setFileMappings, setOptions, setParameters, setSource, setSystemOutput, setSystemOutput, setTarget, setUserOutput, setUserOutput
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
Method Detail
setRuleSchema
void setRuleSchema(EDMApplicationSchema rule_schema) throws EdmiException
Assign a rule schema to this validatorParameters:rule_schema - Specifies the rule schema to use for this model. If no rule schema is supplied, i.e. the rule_schema argument is not set, there is assumed no rule schema used for the current data model.Throws:EdmiException - if the method fails
setInstanceType
void setInstanceType(EDMInstance instance_type)
Set a specific instance type to this validatorParameters:instance_type - EntityDefinition instance in dictionary model representing the instance type to validate
setGlobalRule
void setGlobalRule(java.lang.String global_rule)
Set a specific global rule to this validatorParameters:global_rule - Spcifies the global rule to use for this model. representing the global rule to validate
setWhereRule
void setWhereRule(java.lang.String where_rule)
Set a specific where rule to this validatorParameters:where_rule - Spcifies the where rule to use for this model. representing the where rule to validate
setValidationErrorModel
void setValidationErrorModel(java.lang.Boolean use_errorModel)
Allows the user to use the Validation error modelParameters:use_errorModel - This is true or false, depending on whether you need to use the Validation error model