Package com.orchestranetworks.schema.relationships

# Interface ReverseRelationshipResultsInterDataset

public interface ReverseRelationshipResultsInterDataset
Represents the result of a reverse relationship where the node that defines the foreign key constraint, the selection link or the association link is in another dataset.

Since:
  5.7.1
See Also:
  - `ReverseRelationshipInterDataset.getReferringRecords(Adaptation)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ReverseRelationshipResultInDataspace`
  `getResultInDataspace(HomeKey aDataspaceKey)`
  Returns the result of this reverse relationship in the specified dataspace.
  `Iterable<ReverseRelationshipResultInDataspace>`
  `getResultsByDataspaces()`
  Returns the result of this reverse relationship in the repository.

- ## Method Details

  - ### getResultsByDataspaces

    Iterable<ReverseRelationshipResultInDataspace> getResultsByDataspaces()
    Returns the result of this reverse relationship in the repository.

    Permissions are applied if the corresponding reverse relationship has been retrieved using a specific `Session`. As a consequence, this method returns only the results in the dataspaces, and datasets that can be viewed by the end-user associated with the specified session.

    See Also:
      - `ReverseRelationshipResultInDataspace`

  - ### getResultInDataspace

    ReverseRelationshipResultInDataspace getResultInDataspace(HomeKey aDataspaceKey)
    Returns the result of this reverse relationship in the specified dataspace. Returns `null` if there is no result in the specified dataspace.
    Throws:
      `IllegalArgumentException` - if the specified dataspace is `null`.
    See Also:
      - `ReverseRelationshipResultInDataspace`