| Method | Description | Returns |
|---|---|---|
| getRecord() | Get the record for in this relationship, or the first record if multiple records are supported | Record |
| getId() | int | |
| getDefinition() | RelationshipDefinition | |
| getOwningRecord() | Record | |
| getRecords() | Collection (Record) | |
| isNewRecord() | Check if the record is a new record | bool |
| isHierarchicalModel() | Check whether a model is a hierarchical model, i.e. can have children | bool |
| isVersionedModel() | Check whether a model is versioned | bool |
CustomEntities\Models\Backend\Relationship
RecordRelationship