Skip to content

Commit c511820

Browse files
committed
Reinstate description of what Java Action does.
1 parent b27f20d commit c511820

File tree

1 file changed

+2
-1
lines changed
  • content/en/docs/refguide/modeling/domain-model/associations

1 file changed

+2
-1
lines changed

content/en/docs/refguide/modeling/domain-model/associations/query-over.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ Here is an example inheritance:
105105
{{< figure src="/attachments/refguide/modeling/domain-model/associations/query-over/limitation.png" class="no-border" >}}
106106

107107
In this example, if a standard by-association retrieve in a microflow is used starting from a `Specialization` this will return the `Specialization` that the starting point `Specialization` points to and not the list of `Generalization` which are associated via the `Generalization_Specialization` association.
108-
The list of `Generalization`'s that points to `Specialization` can be retrieved with a Java action using the Java API:
108+
109+
The list of `Generalization`'s that points to `Specialization` can be retrieved with a Java action using the [Runtime API](https://apidocs.rnd.mendix.com/11/runtime/com/mendix/core/Core.html#retrieveByPath(com.mendix.systemwideinterfaces.core.IContext,com.mendix.systemwideinterfaces.core.IMendixObject,java.lang.String,boolean)), as shown in this Java action which takes the `Specialization` object and a Boolean `Reverse` to indicate that the object instance is the child of the path of a self association:
109110

110111
```java
111112
public class RetrieveAsAssociatedWithB extends CustomJavaAction<java.util.List<IMendixObject>>

0 commit comments

Comments
 (0)