Relation: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Removed redirect to Relation (TQL))
Tag: Removed redirect
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Relation is an enumeration that can be used to switch from one [[item]] to another based on their connection.</noinclude>
====Relation Types====
====Relation Types====
The following relation types are supported:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 27: Line 29:


==== Implemented Relations ====
==== Implemented Relations ====
The following relations are implemented for the specified [[item]]s.
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 33: Line 36:
! Description
! Description
|-
|-
| BUILDING
| [[Building|BUILDING]]
| OWNER, CONSTRUCTOR
| OWNER, CONSTRUCTOR
| The [[Stakeholder]] configured as the owner of [[Building]]
| The [[Stakeholder]] configured as the owner of [[Building]]
|-
|-
| BUILDING
| [[Building|BUILDING]]
| DEMOLISHER
| DEMOLISHER
| The [[Stakeholder]] configured as demolisher of [[Building]]
| The [[Stakeholder]] configured as demolisher of [[Building]]
|-
|-
| MEASURE
| [[Measure|MEASURE]]
| BUILDING
| BUILDING
| The first [[Building]] configured for this [[Measure]]
| The first [[Building]] configured for this [[Measure]]
|-
|-
| MEASURE
| [[Measure|MEASURE]]
| OWNER
| OWNER
| The [[Stakeholder]] configured as the owner of this [[Measure]]
| The [[Stakeholder]] configured as the owner of this [[Measure]]
|-
|-
| NET_CLUSTER  
| [[Net Cluster|NET_CLUSTER]]
| OWNER
| OWNER
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]]
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]]
|-
|-
| NET_CLUSTER
| [[Net Cluster|NET_CLUSTER]]
| NETOWNER
| NETOWNER
| The [[Stakeholder]] configured as the owner of the [[Net Type]] of the first [[Net Load]], configured as a [[Net Setting]].
| The [[Stakeholder]] configured as the owner of the [[Net Type]] of the first [[Net Load]], configured as a [[Net Setting]].
|-
|-
| NET_LOAD  
| [[Net Load|NET_LOAD]]
| OWNER
| OWNER
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]].
| The [[Stakeholder]] configured as the owner of this [[Net Cluster]].
|-
|-
| NET_LOAD
| [[Net Load|NET_LOAD]]
| NETOWNER
| NETOWNER
| The [[Stakeholder]] configured as the owner of the [[Net Type]], configured as a [[Net Setting]].
| The [[Stakeholder]] configured as the owner of the [[Net Type]], configured as a [[Net Setting]].
|-
|-
| NET_LOAD  
| [[Net Load|NET_LOAD]]
| BUILDING
| BUILDING
| The [[Building]] configured for this [[Net Load]].
| The [[Building]] configured for this [[Net Load]].
|-
|-
| PANEL
| [[Panel|PANEL]]
| OWNER
| OWNER
| The [[Stakeholder]] configured as the owner of this [[Panel]].
| The [[Stakeholder]] configured as the owner of this [[Panel]].
|-
|-
| ZONE
| [[Zone|ZONE]]
| PERMITTER
| PERMITTER
| The [[Stakeholder]] configured as the permitter of this [[Zone]]. Often the Municipality by default.
| The [[Stakeholder]] configured as the permitter of this [[Zone]]. Often the Municipality by default.
Line 81: Line 84:
====Area Relations====
====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.
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 16:28, 9 January 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

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.

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.