Class ManagedResource
java.lang.Object
com.janeirodigital.shapetrees.core.resources.InstanceResource
com.janeirodigital.shapetrees.core.resources.ManageableResource
com.janeirodigital.shapetrees.core.resources.ManagedResource
A ManagedResource indicates that a given ManageableResource
is managed by a shape tree. This means that is has an associated
ManagerResource that exists and contains a valid ShapeTreeManager.
-
Constructor Summary
ConstructorsConstructorDescriptionManagedResource
(ManageableResource manageable, Optional<URL> managerUrl) Construct a ManagedResource based on a provided ManageableResourcemanageable
andmanagerUrl
-
Method Summary
Methods inherited from class com.janeirodigital.shapetrees.core.resources.ManageableResource
getManagerResourceUrl, isContainer
Methods inherited from class com.janeirodigital.shapetrees.core.resources.InstanceResource
getAttributes, getBody, getGraph, getName, getResourceType, getUrl, isExists
-
Constructor Details
-
ManagedResource
Construct a ManagedResource based on a provided ManageableResourcemanageable
andmanagerUrl
- Parameters:
manageable
- ManageableResource to construct the ManagedResource frommanagerUrl
- URL of the associated shape tree manager resource
-