Basic Region Access
In the context of a query, you specify the name of a region by its full path, starting with a forward slash (/ ).
You can access the Region object’s public fields and methods from a region path, referred to as the region’s attributes. Using this method,
/portfolios.name returns “
10 . An attribute is mapped to a Java class member in three possible ways with the following priority until a match is found. If the attribute is named x, then:
public method getX() public method x() public field x
Note: The term attribute in this context is not the same as a region attribute.
You can also access entry keys and entry data through the region:
Setof entry keys in the region
/portfolios.valuesreturns the Collection of entry values
/portfoliosreturn the Collection of entry values Note: These collections are immutable. Invoking modifier methods on them, such as
remove, result in an
For the last two bullets, the FROM clause
/portfolios return the same thing.