Class TypePath
java.lang.Object
org.gcube.informationsystem.resourceregistry.api.rest.TypePath
The Class TypePath.
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe query parameter to specify the depth of subclasses expansion.static final StringDefault value forDEPTH_QUERY_PARAMETERon Read endpoints (GET /types/{type-name}): exact name only, no descendant expansion.static final StringDefault value forDEPTH_QUERY_PARAMETERonQUERY /types/query(and its/accessmirror): unbounded descendant closure, for polymorphic-equivalent matching consistent with thepolymorphic=truedefault on every otherQUERYendpoint in this API.static final intThe constant representing root/current level only depth expansion (0).static final intThe constant representing unlimited depth hierarchy expansion (-1).static final StringThe canonical metadata-policy query parameter.static final StringDefault value forMETADATA_POLICY_QUERY_PARAMETER.static final StringThe Constant TYPES_PATH_PART. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPES_PATH_PART
The Constant TYPES_PATH_PART.- See Also:
-
DEPTH_QUERY_PARAMETER
The query parameter to specify the depth of subclasses expansion.- See Also:
-
DEPTH_QUERY_PARAMETER_DEFAULT_READ_VALUE
Default value forDEPTH_QUERY_PARAMETERon Read endpoints (GET /types/{type-name}): exact name only, no descendant expansion.- See Also:
-
DEPTH_UNLIMITED
public static final int DEPTH_UNLIMITEDThe constant representing unlimited depth hierarchy expansion (-1).- See Also:
-
DEPTH_ROOT_ONLY
public static final int DEPTH_ROOT_ONLYThe constant representing root/current level only depth expansion (0).- See Also:
-
DEPTH_QUERY_PARAMETER_QUERY_DEFAULT_VALUE
Default value forDEPTH_QUERY_PARAMETERonQUERY /types/query(and its/accessmirror): unbounded descendant closure, for polymorphic-equivalent matching consistent with thepolymorphic=truedefault on every otherQUERYendpoint in this API. Deliberately contrasts withDEPTH_QUERY_PARAMETER_DEFAULT_READ_VALUE(the Read default) — see11-api-query-parameters.md#depthfor the full rationale.- See Also:
-
METADATA_POLICY_QUERY_PARAMETER
The canonical metadata-policy query parameter.- See Also:
-
METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
Default value forMETADATA_POLICY_QUERY_PARAMETER.- See Also:
-
-
Constructor Details
-
TypePath
public TypePath()
-