Package org.forgerock.api.models
Class SubResources
java.lang.Object
org.forgerock.api.models.SubResources
Sub-resources of a resource are declared here.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder to help construct the SubResources. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets theResource
for a given sub-resource name.getNames()
Returns all sub-resource names.Gets aMap
of paths toResource
s.int
hashCode()
static SubResources.Builder
Create a new Builder for sub-resources.
-
Method Details
-
getSubResources
Gets aMap
of paths toResource
s.- Returns:
- The
Map
.
-
get
Gets theResource
for a given sub-resource name.- Parameters:
name
- Sub-resource name- Returns:
Resource
ornull
if does-not-exist.
-
getNames
Returns all sub-resource names.- Returns:
- The names.
-
equals
-
hashCode
public int hashCode() -
subresources
Create a new Builder for sub-resources.- Returns:
- Builder
-