public interface ResourceInstance
Modifier and Type | Method and Description |
---|---|
Map<Resource.Type,String> |
getKeyValueMap()
Obtain the primary and foreign key properties for the resource.
|
Query |
getQuery()
Return the query associated with the resource.
|
ResourceDefinition |
getResourceDefinition()
Return the resource definition for this resource type.
|
Map<String,ResourceInstance> |
getSubResources()
Return all sub-resource instances.
|
boolean |
isCollectionResource()
Determine if resource is a collection resource.
|
void |
setKeyValueMap(Map<Resource.Type,String> keyValueMap)
Set the values of the parent foreign keys.
|
void setKeyValueMap(Map<Resource.Type,String> keyValueMap)
keyValueMap
- map of all parent foreign keys. Map from resource type to id value.Map<Resource.Type,String> getKeyValueMap()
Query getQuery()
ResourceDefinition getResourceDefinition()
Map<String,ResourceInstance> getSubResources()
boolean isCollectionResource()
Copyright © 2022 Apache Software Foundation. All rights reserved.