public interface Resource
Modifier and Type | Method and Description |
---|---|
String |
getInstance()
Returns a unique name for the instance of this resource.
|
String |
getLabel(CollectionResource resource)
Returns a unique label for the instance of this resource.
|
Resource |
getParent() |
Path |
getPath(CollectionResource resource)
Retrieves the path of the resource, relative to the repository root.
|
String |
getTypeName()
Returns the type name associated with the resource.
|
Resource getParent()
String getTypeName()
String getInstance()
IndexStorageStrategy
String getLabel(CollectionResource resource)
CollectionResourceWrapper
String
object.Path getPath(CollectionResource resource)
resource
- Used by the GenericTypeResource
in order to determine the instance name.Copyright © 2020. All rights reserved.