public interface ReverseRelationshipInterDataset extends ReverseRelationship
| Modifier and Type | Method and Description |
|---|---|
Iterable<Adaptation> |
getOwnerDatasets(Adaptation aReferencedRecordOrDataset)
Returns the datasets that are an instance of the data model containing
the node that defines the corresponding foreign key constraint,
selection link or association link.
|
ReverseRelationshipResultsInterDataset |
getReferringRecords(Adaptation aReferencedRecord)
Returns the records in the repository that refers to the specified
record through the corresponding foreign key constraint,
selection link or association link.
|
getExplicitRelationship, getReferringTableNode, getTableNode, isIntraDatasetisExplicitIterable<Adaptation> getOwnerDatasets(Adaptation aReferencedRecordOrDataset)
Permissions are applied if this reverse relationship has been retrieved
using a specific Session. As a consequence, this method returns
only the datasets that can be viewed by the end-user associated with the
specified session.
IllegalArgumentException - if the specified Adaptation
is null.IllegalArgumentException - if the specified record is not in a dataset
that is an instance of the data model containing the target table node of the
associated relationship.IllegalArgumentException - if the specified record is not in the table
that is targeted by the corresponding relationship.IllegalArgumentException - if the specified dataset is not
an instance of the data model containing the target table node of the
associated relationship.SchemaNode.getRelationships(Adaptation, com.orchestranetworks.service.Session),
SchemaNodeRelationships.getInterDatasetReverseRelationships()ReverseRelationshipResultsInterDataset getReferringRecords(Adaptation aReferencedRecord)
Permissions are applied if this reverse relationship has been retrieved
using a specific Session. As a consequence, this method returns
only the records that can be viewed by the end-user associated with the
specified session.
IllegalArgumentException - if the specified Adaptation
is null.IllegalArgumentException - if the specified Adaptation
is not a record.IllegalArgumentException - if the specified record is not in a dataset
that is an instance of the data model containing the target table node of the
associated relationship.IllegalArgumentException - if the specified record is not in the table
that is targeted by the corresponding relationship.SchemaNode.getRelationships(Adaptation, com.orchestranetworks.service.Session),
SchemaNodeRelationships.getInterDatasetReverseRelationships()