Class TypePath
- java.lang.Object
-
- org.gcube.informationsystem.resourceregistry.api.rest.TypePath
-
public class TypePath extends Object
The Class TypePath.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEPTH_QUERY_PARAMETERThe query parameter to specify the depth of subclasses expansion.static StringDEPTH_QUERY_PARAMETER_DEFAULT_READ_VALUEDefault value forDEPTH_QUERY_PARAMETERon Read endpoints (GET /types/{type-name}): exact name only, no descendant expansion.static StringDEPTH_QUERY_PARAMETER_QUERY_DEFAULT_VALUEDefault 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 intDEPTH_ROOT_ONLYThe constant representing root/current level only depth expansion (0).static intDEPTH_UNLIMITEDThe constant representing unlimited depth hierarchy expansion (-1).static StringMETADATA_POLICY_QUERY_PARAMETERThe canonical metadata-policy query parameter.static StringMETADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUEDefault value forMETADATA_POLICY_QUERY_PARAMETER.static StringTYPES_PATH_PARTThe Constant TYPES_PATH_PART.
-
Constructor Summary
Constructors Constructor Description TypePath()
-
-
-
Field Detail
-
TYPES_PATH_PART
public static final String TYPES_PATH_PART
The Constant TYPES_PATH_PART.- See Also:
- Constant Field Values
-
DEPTH_QUERY_PARAMETER
public static final String DEPTH_QUERY_PARAMETER
The query parameter to specify the depth of subclasses expansion.- See Also:
- Constant Field Values
-
DEPTH_QUERY_PARAMETER_DEFAULT_READ_VALUE
public static final String 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:
- Constant Field Values
-
DEPTH_UNLIMITED
public static final int DEPTH_UNLIMITED
The constant representing unlimited depth hierarchy expansion (-1).- See Also:
- Constant Field Values
-
DEPTH_ROOT_ONLY
public static final int DEPTH_ROOT_ONLY
The constant representing root/current level only depth expansion (0).- See Also:
- Constant Field Values
-
DEPTH_QUERY_PARAMETER_QUERY_DEFAULT_VALUE
public static final String 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:
- Constant Field Values
-
METADATA_POLICY_QUERY_PARAMETER
public static final String METADATA_POLICY_QUERY_PARAMETER
The canonical metadata-policy query parameter.- See Also:
- Constant Field Values
-
METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
public static final String METADATA_POLICY_QUERY_PARAMETER_DEFAULT_VALUE
Default value forMETADATA_POLICY_QUERY_PARAMETER.- See Also:
- Constant Field Values
-
-