HAS_TOURING_PREFERENCE Party Data
Description
Connects a :Representation with an active REPPED_AS relationship of type "Musician" to a :TouringPreference node.
Label
:HAS_TOURING_PREFERENCE
Valid nodes
| From | Relationship | To | Cardinality |
|---|---|---|---|
| Representation A representation node with an active :REPPED_AS relationship with a type of "Musician" | :HAS_TOURING_PREFERENCE | TouringPreference A node with the :TouringPreference label | 0..n |
Properties
HAS_TOURING_PREFERENCE uses the standard relationship properties.
CREATE
All :TouringPreference nodes can only be connected to :Representation nodes with an active REPPED_AS relationship of type "Musician". There can be multiple active relationships between :Representation nodes to :TouringPreference nodes, however there can only be one active relationship for each type of :TouringPreference.
If there already exists an active relationship for a :TouringPreference of the same type, then the request is REJECTED.
UPDATE
Updates to an existing :TouringPreference should be REJECTED in favor of deactivation and create flow as described above so as to preserve the history of changes. To update a :TouringPreference, deactivate the existing relationship and create a new :TouringPreference node and active relationship.
DELETE
The DELETE verb corresponds to deactivating the relationship between the :Representation and :TouringPreference node. No physical deletes will happen.