public final class ValidationSpec extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ValidationSpec.RefreshPolicyDefines the refresh policy for validating a dataset, a table or a record. | 
| Constructor and Description | 
|---|
| ValidationSpec() | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidationSpec.RefreshPolicy | getRefreshPolicy() | 
| boolean | isActivationEnsured()Indicates if the validation must also ensure that
 the current dataset is  activated. | 
| boolean | isResultLogged()Indicates if the result of the validation must
 be added to the logs generated by EBX®. | 
| void | setActivationEnsured(boolean ensureActivation)Specifies if the validation must also check that
 the current dataset is  activated. | 
| void | setRefreshPolicy(ValidationSpec.RefreshPolicy aPolicy)Specifies the refresh policy when validating
 a dataset, a table or a record. | 
| void | setResultLogged(boolean logValidationResult)Specifies if the result of the validation must
 be added to the logs generated by EBX®. | 
public boolean isActivationEnsured()
activated.setActivationEnsured(boolean)public void setActivationEnsured(boolean ensureActivation)
activated.
 
 By default, this property is set to true.
 
ensureActivation - if true, the validation also checks that the current dataset
                         activated (it adds an error if this is not the case).public boolean isResultLogged()
setResultLogged(boolean)public void setResultLogged(boolean logValidationResult)
This property is ignored when validating a record or a field. That is, the result of the validation of a record or a field is never added to the logs of EBX®.
 By default this property is set to true
 when validating a dataset or a table.
 
public void setRefreshPolicy(ValidationSpec.RefreshPolicy aPolicy)
ValidationSpec.RefreshPolicypublic ValidationSpec.RefreshPolicy getRefreshPolicy()
setRefreshPolicy(RefreshPolicy)