public interface Relationship
A relationship defines an owner node and a target node. The owner node is the one that holds a foreign key constraint (osd:tableRef), a selection link (osd:select) or an association link (osd:association). The target table node is the one used by the foreign key constraint, the selection link or the association link. For example, in the following tableRef definition:
<osd:tableRef> <tablePath> /root/table </tablePath> </osd:tableRef>
/root/table
is the target node of the relationship.
ExplicitRelationship
.ReverseRelationship
.
Each relationship can be defined in the same dataset or between several datasets.
Inter-datasets relationships define a container dataset reference and
optionally a container dataspace reference (case of tableRef between dataspaces).
The container dataset reference specifies the instance containing the source node of this link.
The container dataspace reference specifies the home containing the container reference.
Modifier and Type | Method and Description |
---|---|
boolean |
isExplicit()
Returns
true if this relationship is explicit. |