You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vocabularies/Hierarchy.json
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -221,18 +221,18 @@
221
221
"@Validation.Minimum": 1
222
222
},
223
223
{
224
-
"$Name": "ShowTargets",
224
+
"$Name": "ExpandLevels",
225
225
"$Collection": true,
226
-
"@Core.Description": "Targets (for example, of end-user messages) to be shown",
227
-
"@Core.LongDescription": "Each target has the format of the `resourcePath` ABNF rule and\n identifies an entity whose node in the current hierarchy is to be shown.\n Showing a node makes the node and its ancestors visible.\n Example: `ShowTargets=[\"HierarchyDirectory(1)/Nodes('A')\"]`",
226
+
"$Type": "Hierarchy.TopLevelsExpandType",
227
+
"@Core.Description": "Nodes to be expanded",
228
+
"@Core.LongDescription": "Expansion of nodes happens in the following steps:\n1. Make all nodes from the top n levels visible.\n2. For each entry in `ExpandLevels` in the given order: If the entry identifies a visible node,\n expand or collapse that node (making certain descendants visible or invisible).\n3. Make the nodes identified by `ShowTargets` and their ancestors visible.",
228
229
"@Core.OptionalParameter": {}
229
230
},
230
231
{
231
-
"$Name": "ExpandLevels",
232
+
"$Name": "ShowTargets",
232
233
"$Collection": true,
233
-
"$Type": "Hierarchy.TopLevelsExpandType",
234
-
"@Core.Description": "Nodes to be expanded",
235
-
"@Core.LongDescription": "Expansion of nodes happens in the following steps:\n1. Make all nodes from the top n levels visible.\n2. For each entry in `ExpandLevels` that identifies a visible node, expand or collapse that node\n (making certain descendants visible or invisible) and mark the entry as done.\n3. If at least one entry was marked during the most recent execution of step 2 and\n there are unmarked entries left, go back to step 2.",
234
+
"@Core.Description": "Targets (for example, of end-user messages) to be shown",
235
+
"@Core.LongDescription": "Each target has the format of the `resourcePath` ABNF rule and\n identifies an entity whose node in the current hierarchy is to be shown.\n Showing a node makes the node and its ancestors visible.\n Example: `ShowTargets=[\"HierarchyDirectory(1)/Nodes('A')\"]`",
Copy file name to clipboardExpand all lines: vocabularies/Hierarchy.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,24 @@ Term|Type|Description
11
11
[RecursiveHierarchy](Hierarchy.xml#L41)|[RecursiveHierarchyType](#RecursiveHierarchyType)|<aname="RecursiveHierarchy"></a>Hierarchy-specific information in the result set of a hierarchical request<br>The [base term](https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.html#RecursiveHierarchy) governs what are the nodes and parents in the hierarchy, whereas this term defines derived information.
12
12
[RecursiveHierarchyActions](Hierarchy.xml#L217)|[RecursiveHierarchyActionsType](#RecursiveHierarchyActionsType)|<aname="RecursiveHierarchyActions"></a>Actions for maintaining the recursive hierarchy defined by the [base term](https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.html#RecursiveHierarchy)<br>When an annotation with this term is present, the [`ParentNavigationProperty`](https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.html#RecursiveHierarchyType) in the base term must not have a collection-valued segment prior to its last segment.
13
13
[MatchCount](Hierarchy.xml#L274)*([Experimental](Common.md#Experimental))*|Int64|<aname="MatchCount"></a>Instance annotation on the result of an `$apply` query option containing the number of matching nodes after hierarchical transformations<br>The service MAY designate a subset of the `$apply` result as "matching nodes". For requests following the pattern described [here](#RecursiveHierarchyType), this subset is the output set of the `filter` or `search` transformation that occurs as the fourth parameter of the last `ancestors` transformation or occurs nested into it.<br>For requests not following this pattern, the subset NEED NOT be defined.<br>This instance annotation is available if [`RecursiveHierarchy/Matched`](#RecursiveHierarchyType) and [`RecursiveHierarchy/MatchedDescendantCount`](#RecursiveHierarchyType) are also available.
14
-
[RecursiveHierarchySupported](Hierarchy.xml#L370)*([Experimental](Common.md#Experimental))*|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<aname="RecursiveHierarchySupported"></a>Whether the annotated collection acts as a [`RecursiveHierarchy`](#RecursiveHierarchy) with the given qualifier<br>This tag is applied to a collection with the same qualifier as the [`RecursiveHierarchy`](#RecursiveHierarchy) term which is applied to its entity type. The recursive hierarchy can then only be addressed through a collection where this tag is true.
14
+
[RecursiveHierarchySupported](Hierarchy.xml#L369)*([Experimental](Common.md#Experimental))*|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<aname="RecursiveHierarchySupported"></a>Whether the annotated collection acts as a [`RecursiveHierarchy`](#RecursiveHierarchy) with the given qualifier<br>This tag is applied to a collection with the same qualifier as the [`RecursiveHierarchy`](#RecursiveHierarchy) term which is applied to its entity type. The recursive hierarchy can then only be addressed through a collection where this tag is true.
Template for actions that move a node among its siblings and are named in [`RecursiveHierarchyActions/ChangeNextSiblingAction`](#RecursiveHierarchyActionsType)
23
23
24
24
Parameter|Type|Description
25
25
:--------|:---|:----------
26
-
**[Node](Hierarchy.xml#L382)**|EntityType|**Binding parameter:** The node T to be moved
27
-
[NextSibling](Hierarchy.xml#L385)|ComplexType?|Key of the node's new next sibling S (null if the node shall become the last sibling)<br>This parameter has properties with the same names, types, and type facets as the key properties of the entity type. next(T) = S after the action. If R is a node with next(R) = S before the action, then next(R) = T after the action, even if S = null. It is an error if S has a different parent than T.
26
+
**[Node](Hierarchy.xml#L381)**|EntityType|**Binding parameter:** The node T to be moved
27
+
[NextSibling](Hierarchy.xml#L384)|ComplexType?|Key of the node's new next sibling S (null if the node shall become the last sibling)<br>This parameter has properties with the same names, types, and type facets as the key properties of the entity type. next(T) = S after the action. If R is a node with next(R) = S before the action, then next(R) = T after the action, even if S = null. It is an error if S has a different parent than T.
28
28
29
29
30
30
<aname="Template_CopyAction"></a>
31
-
### [Template_CopyAction](Hierarchy.xml#L412)
31
+
### [Template_CopyAction](Hierarchy.xml#L411)
32
32
33
33
Template for actions that copy a node and its descendants and are named in [`RecursiveHierarchyActions/CopyAction`](#RecursiveHierarchyActionsType)
34
34
@@ -58,8 +58,8 @@ If a certain position of the copy of A among its new siblings is desired, an add
58
58
59
59
Parameter|Type|Description
60
60
:--------|:---|:----------
61
-
**[Node](Hierarchy.xml#L439)**|EntityType|**Binding parameter:** The node to be copied
[NodeProperty](Hierarchy.xml#L322)|String|Property path to the node identifier, evaluated relative to the binding parameter
89
89
*[Levels](Hierarchy.xml#L325)*|Int64|*Optional parameter:* The number n of levels to be output, absent means all levels
90
-
*[ShowTargets](Hierarchy.xml#L332)*|\[String\]|*Optional parameter:*Targets (for example, of end-user messages) to be shown<br>Each target has the format of the `resourcePath` ABNF rule and identifies an entity whose node in the current hierarchy is to be shown. Showing a node makes the node and its ancestors visible. Example: `ShowTargets=["HierarchyDirectory(1)/Nodes('A')"]`
91
-
*[ExpandLevels](Hierarchy.xml#L344)*|\[[TopLevelsExpandType](#TopLevelsExpandType)\]|*Optional parameter:*Nodes to be expanded<br><p>Expansion of nodes happens in the following steps:</p> <oltype="1"> <li>Make all nodes from the top n levels visible.</li> <li>For each entry in <code>ExpandLevels</code> that identifies a visible node, expand or collapse that node (making certain descendants visible or invisible) and mark the entry as done.</li> <li>If at least one entry was marked during the most recent execution of step 2 and there are unmarked entries left, go back to step 2.</li> </ol>
92
-
[→](Hierarchy.xml#L358)|\[EntityType\]|
90
+
*[ExpandLevels](Hierarchy.xml#L332)*|\[[TopLevelsExpandType](#TopLevelsExpandType)\]|*Optional parameter:*Nodes to be expanded<br><p>Expansion of nodes happens in the following steps:</p> <oltype="1"> <li>Make all nodes from the top n levels visible.</li> <li>For each entry in <code>ExpandLevels</code> in the given order: If the entry identifies a visible node, expand or collapse that node (making certain descendants visible or invisible).</li> <li>Make the nodes identified by <code>ShowTargets</code> and their ancestors visible.</li> </ol>
91
+
*[ShowTargets](Hierarchy.xml#L345)*|\[String\]|*Optional parameter:*Targets (for example, of end-user messages) to be shown<br>Each target has the format of the `resourcePath` ABNF rule and identifies an entity whose node in the current hierarchy is to be shown. Showing a node makes the node and its ancestors visible. Example: `ShowTargets=["HierarchyDirectory(1)/Nodes('A')"]`
92
+
[→](Hierarchy.xml#L357)|\[EntityType\]|
93
93
94
94
95
95
<aname="HierarchyType"></a>
@@ -212,10 +212,10 @@ Property|Type|Description
212
212
[CopyAction](Hierarchy.xml#L268)|[QualifiedName?](Common.md#QualifiedName)|Action that copies a node and its descendants, following [this template](#Template_CopyAction)
213
213
214
214
<aname="TopLevelsExpandType"></a>
215
-
## [TopLevelsExpandType](Hierarchy.xml#L360)
215
+
## [TopLevelsExpandType](Hierarchy.xml#L359)
216
216
Information about nodes to be expanded
217
217
218
218
Property|Type|Description
219
219
:-------|:---|:----------
220
-
[NodeID](Hierarchy.xml#L362)|String|Identifier of a node to be expanded
221
-
[Levels](Hierarchy.xml#L365)|Int64?|Number of levels to be expanded, null means all levels, 0 means collapsed
220
+
[NodeID](Hierarchy.xml#L361)|String|Identifier of a node to be expanded
221
+
[Levels](Hierarchy.xml#L364)|Int64?|Number of levels to be expanded, null means all levels, 0 means collapsed
0 commit comments