Class ManagerResource

java.lang.Object
com.janeirodigital.shapetrees.core.resources.InstanceResource
com.janeirodigital.shapetrees.core.resources.ManagerResource
Direct Known Subclasses:
MissingManagerResource

public class ManagerResource extends InstanceResource
A ManagerResource represents a resource that is associated with a regular MangeableResource, and contains metadata in the form of a ShapeTreeManager that assigns one or more shape trees to the associated ManageableResource. When it exists, the associated resource is considered to be managed. When it doesn't, the associated resource is considered to be unmanaged.
  • Constructor Details

    • ManagerResource

      public ManagerResource(URL url, ShapeTreeResourceType resourceType, ResourceAttributes attributes, String body, String name, boolean exists, URL managedResourceUrl)
      Construct a manager resource
      Parameters:
      url - URL of the resource
      resourceType - Identified shape tree resource type
      attributes - Associated resource attributes
      body - Body of the resource
      name - Name of the resource
      exists - Whether the resource exists
      managedResourceUrl - URL of the associated managed resource
  • Method Details