Package com.onwbp.base.schema.view

# Interface SchemaDefaultTableView

public interface SchemaDefaultTableView
This interface represents the default view properties of a table defined in the data model.

Since:
  6.2.1

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ValidationPolicyForTableViewEnum`
  `getDefaultValidationPolicyForTableView()`
  Returns the default validation policy for table view as defined in the associated table in the data model.
  `ValidationPolicyForTableViewEnum`
  `getResolvedValidationPolicy()`
  Returns the resolved validation policy to use when displaying records of the associated table in the table view.

- ## Method Details

  - ### getDefaultValidationPolicyForTableView

    ValidationPolicyForTableViewEnum getDefaultValidationPolicyForTableView()
    Returns the default validation policy for table view as defined in the associated table in the data model. It can return null.

    osd:defaultView/validationPolicyForTableview

  - ### getResolvedValidationPolicy

    ValidationPolicyForTableViewEnum getResolvedValidationPolicy()
    Returns the resolved validation policy to use when displaying records of the associated table in the table view. It never returns null.

    It is determined in the following order :

    1. By default, the validation policy defined in the table is applied.
    2. If not set, the validation policy defined at the data model level is applied, if it is specified.

    3. If none of these options are applied, then :

       - If the validation of records in table view is disabled in the file ebx.properties, then the records are not validated.
       - Otherwise, an up-to-date validation is always performed.