Skip to content

DOM-PFM-MTD-006Relationship

Markdown

DOM-PFM-MTD-006

Relationship

Markdown
  • DocumentDraft
  • ImplementationObserved

Planning

Specified by
CON-PFM-MTD-006

Design

Owned by
SVC-PFM-MTD-associations

KindDomain objectProduct areaPlatformModuleMetadata and Organization-defined RecordsRevision1

Read atservices-platform ad3f6a65react-console baf6dae3

Relationships

ToCardinalityOwnershipCrosses a serviceOn archive or delete
DOM-PFM-MTD-001many-to-manyA type owns its category choices and resolves endpoints through the registry or a registered resolver.yes
DOM-PFM-MTD-005many-to-manyAssociations stores links to custom records; their store supplies endpoint resolution and cascade deletion.no
DOM-PFM-MTD-004one-to-manyA custom object selects one owner type, protecting that type from retirement while selected.no

Invariants

InvariantProtectsEnforced atProvenance
INV-DOM-PFM-MTD-006-01
Endpoint types, cardinality and dating are fixed for the life of a relationship type.
servicetest
INV-DOM-PFM-MTD-006-02
Cascade policies cannot remove contacts or organizations.
service, databasetest
INV-DOM-PFM-MTD-006-03
A type named as any object's owner cannot be removed or deactivated; removal of a currently used type deactivates it.
servicetest
INV-DOM-PFM-MTD-006-04
Ordinary place checks reject overlapping spans for a pair, restricted endpoint or first-side primary, while adjacent spans are permitted.
service, databasetest
INV-DOM-PFM-MTD-006-05
Conflicting concurrent link writes cannot both acquire the same place.
service, databasetest
INV-DOM-PFM-MTD-006-06
Link identity retains type and endpoints, disallows self-links and admits ordered dates only for dated types.
service, databasetest
INV-DOM-PFM-MTD-006-07
Creation caps links at one thousand per record, type and side, counting ended links; merges may exceed the cap.
servicetest
INV-DOM-PFM-MTD-006-08
Endpoint deletion applies side-specific detach, cascade and restrict policies in the caller's transaction and removes ended links regardless of policy.
databasetest
INV-DOM-PFM-MTD-006-09
Deletion and merge functions restrict changes to the session workspace and authorized application roles.
databasetest
INV-DOM-PFM-MTD-006-10
Merge redirects duplicate endpoints to the survivor, ends collisions on the merge day and clears extra primary flags; a repeated apply has no remaining moves.
databasetest

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.