Package com.orchestranetworks.service

# Interface ValidationReportItemSubjectForTable

All Superinterfaces:
  `ValidationReportItemSubject`

public interface ValidationReportItemSubjectForTable extends ValidationReportItemSubject
Represents the subject of a validation report item in the context of a table.

A subject of this type is created using a `ConstraintOnTable`.

See Also:
  - `ValidationReportItem.getSubjectForTable()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AdaptationTable`
  `getAdaptationTable()`
  Returns the table associated with this item.
  `RequestResult`
  `getRecords()`
  Creates and returns an iterator over the records with which this validation item is associated.
  `String`
  `getXPathPredicateOfRecords()`
  Returns the expression specifying the records with which this validation item is associated.

  ### Methods inherited from interface com.orchestranetworks.service.ValidationReportItemSubject

  `isDatasetOrRecordSubject, isTableSubject`

- ## Method Details

  - ### getAdaptationTable

    AdaptationTable getAdaptationTable()
    Returns the table associated with this item. Table can be `null` in the following cases:
    - if the containing dataspace has been closed,
    - if the containing dataset has been deleted,
    - if the table no longer exists after a data model refresh.

  - ### getXPathPredicateOfRecords

    String getXPathPredicateOfRecords()
    Returns the expression specifying the records with which this validation item is associated.
    See Also:
      - `ValueContextForValidationOnTable.addMessage(String, com.onwbp.base.text.UserMessage)`

  - ### getRecords

    RequestResult getRecords()
    Creates and returns an iterator over the records with which this validation item is associated.
    See Also:
      - `getXPathPredicateOfRecords()`