public static interface Resources.ReadBase<Address> extends ReadInterface<Resources.Single,Resources.Multiple,Address>
| Modifier and Type | Method and Description |
|---|---|
default Resources.Read |
descend(Address firstChild,
Path... furtherChildren)
A shortcut for
get(firstChild).allChildren().get(furtherChildren[0]).allChildren()
.get(furtherChildren[1]).... |
getgetAll, getAlldefault Resources.Read descend(Address firstChild, Path... furtherChildren)
get(firstChild).allChildren().get(furtherChildren[0]).allChildren()
.get(furtherChildren[1])....
Each of the paths in further children is either a canonical path or a relative path that is relative to the preceding child.
Remember that relative paths are resolved using the
Relationships.WellKnown.contains relationship while descend follows
the Relationships.WellKnown.isParentOf relationships.
firstChild - the id of the first contained childfurtherChildren - the list of paths to the grand children and onCopyright © 2015 Red Hat, Inc.. All rights reserved.