Relation (TQL): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "{| class="wikitable" |- ! Clause ! As a polygon ! As an item ! Type |- | RELATION | OWNER, CONSTRUCTOR, DEMOLISHER, PERMITTER, SENDER, RECEIVER, NETOWNER, BORDER_A, BORDER_B,...")
 
Line 22: Line 22:
| OWNER, CONSTRUCTOR
| OWNER, CONSTRUCTOR
| The [[Stakeholder]] configured as the owner of [[Building]]
| The [[Stakeholder]] configured as the owner of [[Building]]
| -
|-
| BUILDING
| BUILDING
| DEMOLISHER
| DEMOLISHER
| The [[Stakeholder]] configured as demolisher of [[Building]]
| The [[Stakeholder]] configured as demolisher of [[Building]]
| -
|-
| MEASURE
| MEASURE
| BUILDING
| BUILDING
| The first [[Building]] configured for this [[Measure]]
| The first [[Building]] configured for this [[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  
| 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
| 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  
| 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
| 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  
| BUILDING
| BUILDING
| The [[Building]] configured for this [[Net Load]].
| The [[Building]] configured for this [[Net Load]].
| -
|-
| PANEL
| PANEL
| OWNER
| OWNER
| The [[Stakeholder]] configured as the owner of this [[Panel]].
| The [[Stakeholder]] configured as the owner of this [[Panel]].
| -
|-
| 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.
| -
|-
|}
|}


Areas allow any of the relations to be configured using the api events ADD_RELATION, SET_RELATION and REMOVE_RELATIONS.
Areas allow any of the relations to be configured using the api events ADD_RELATION, SET_RELATION and REMOVE_RELATIONS.

Revision as of 13:59, 1 March 2022

Clause As a polygon As an item Type
RELATION OWNER, CONSTRUCTOR, DEMOLISHER, PERMITTER, SENDER, RECEIVER, NETOWNER, BORDER_A, BORDER_B, BUILDING Rather than data of the specified item, use the item which has this relation to it. Technical name indicating a type of relation.

Implemented Relations

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.

Areas allow any of the relations to be configured using the api events ADD_RELATION, SET_RELATION and REMOVE_RELATIONS.