Class SubResource

java.lang.Object
org.forgerock.opendj.rest2ldap.SubResource
Direct Known Subclasses:
CollectionSubResource, SingletonSubResource

public abstract class SubResource extends Object
A SubResource defines how to reach a resource relative to its parent resource. To that end, it defines:
  • the relative CREST sub path/sub route beneath its parent resource,
  • the relative LDAP DNs below the DN of its parent resource,
  • the resource type that is accessed when following this sub path/sub route.

Defines a parent-child relationship between a parent resource and one or more child resource(s). Removal of the parent resource implies that the children (the sub-resources) are also removed.

  • Method Details