Relation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Relation is an enumeration of types of connections items can have. The following relations are supported:") |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Relation is an enumeration | <noinclude>Relation is an enumeration that can be used to switch from one [[item]] to another based on their connection.</noinclude> | ||
====Relation Types==== | |||
The following relation types are supported: | |||
{| class="wikitable" | |||
|- | |||
! Relation type | |||
|- | |||
| OWNER | |||
|- | |||
| CONSTRUCTOR | |||
|- | |||
| DEMOLISHER | |||
|- | |||
| PERMITTER | |||
|- | |||
| SENDER | |||
|- | |||
| RECEIVER | |||
|- | |||
| NETOWNER | |||
|- | |||
| BORDER_A | |||
|- | |||
| BORDER_B | |||
|- | |||
| BUILDING | |||
|- | |||
| WEATHER | |||
|- | |||
|} | |||
The following relations are | ==== Implemented Relations ==== | ||
The following relations are implemented for the specified [[item]]s. | |||
{| class="wikitable" | |||
|- | |||
! Item type | |||
! Relation Type | |||
! Description | |||
|- | |||
| [[Building|BUILDING]] | |||
| OWNER, CONSTRUCTOR | |||
| The [[Stakeholder]] configured as the owner of [[Building]] | |||
|- | |||
| [[Building|BUILDING]] | |||
| DEMOLISHER | |||
| The [[Stakeholder]] configured as demolisher of [[Building]] | |||
|- | |||
| [[Measure|MEASURE]] | |||
| BUILDING | |||
| The first [[Building]] configured for this [[Measure]] | |||
|- | |||
| [[Measure|MEASURE]] | |||
| OWNER | |||
| The [[Stakeholder]] configured as the owner of this [[Measure]] | |||
|- | |||
| [[Net Cluster|NET_CLUSTER]] | |||
| OWNER | |||
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]] | |||
|- | |||
| [[Net Cluster|NET_CLUSTER]] | |||
| NETOWNER | |||
| The [[Stakeholder]] configured as the owner of the [[Net Type]] of the first [[Net Load]], configured as a [[Net Setting]]. | |||
|- | |||
| [[Net Load|NET_LOAD]] | |||
| OWNER | |||
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]]. | |||
|- | |||
| [[Net Load|NET_LOAD]] | |||
| NETOWNER | |||
| The [[Stakeholder]] configured as the owner of the [[Net Type]], configured as a [[Net Setting]]. | |||
|- | |||
| [[Net Load|NET_LOAD]] | |||
| BUILDING | |||
| The [[Building]] configured for this [[Net Load]]. | |||
|- | |||
| [[Panel|PANEL]] | |||
| OWNER | |||
| The [[Stakeholder]] configured as the owner of this [[Panel]]. | |||
|- | |||
| [[Zone|ZONE]] | |||
| PERMITTER | |||
| The [[Stakeholder]] configured as the permitter of this [[Zone]]. Often the Municipality by default. | |||
|- | |||
| [[Water Overlay]] | |||
| WEATHER | |||
| The [[Weather]] configured in this [[Water Overlay]]. | |||
|- | |||
|} | |||
====Area Relations==== | |||
Areas allow any of the [[Relation (TQL)#Relation Types|relation types]] to be configured using the editor area api events ADD_RELATION, SET_RELATION and REMOVE_RELATIONS. | |||
{{article end | |||
|seealso= | |||
* [[Indicator#Relation to stakeholders|Indicator relation to stakeholders]] | |||
}} |
Latest revision as of 14:54, 14 November 2024
Relation is an enumeration that can be used to switch from one item to another based on their connection.
Relation Types
The following relation types are supported:
Relation type |
---|
OWNER |
CONSTRUCTOR |
DEMOLISHER |
PERMITTER |
SENDER |
RECEIVER |
NETOWNER |
BORDER_A |
BORDER_B |
BUILDING |
WEATHER |
Implemented Relations
The following relations are implemented for the specified items.
Item type | Relation Type | Description |
---|---|---|
BUILDING | OWNER, CONSTRUCTOR | The Stakeholder configured as the owner of Building |
BUILDING | DEMOLISHER | The Stakeholder configured as demolisher of Building |
MEASURE | BUILDING | The first Building configured for this Measure |
MEASURE | OWNER | The Stakeholder configured as the owner of this Measure |
NET_CLUSTER | OWNER | The Stakeholder configured as the owner of this Net Cluster |
NET_CLUSTER | NETOWNER | The Stakeholder configured as the owner of the Net Type of the first Net Load, configured as a Net Setting. |
NET_LOAD | OWNER | The Stakeholder configured as the owner of this Net Cluster. |
NET_LOAD | NETOWNER | The Stakeholder configured as the owner of the Net Type, configured as a Net Setting. |
NET_LOAD | BUILDING | The Building configured for this Net Load. |
PANEL | OWNER | The Stakeholder configured as the owner of this Panel. |
ZONE | PERMITTER | The Stakeholder configured as the permitter of this Zone. Often the Municipality by default. |
Water Overlay | WEATHER | The Weather configured in this Water Overlay. |
Area Relations
Areas allow any of the relation types to be configured using the editor area api events ADD_RELATION, SET_RELATION and REMOVE_RELATIONS.