Package ca.uhn.fhir.rest.server.util
Enum ISearchParamRegistry.SearchParamLookupContextEnum
java.lang.Object
java.lang.Enum<ISearchParamRegistry.SearchParamLookupContextEnum>
ca.uhn.fhir.rest.server.util.ISearchParamRegistry.SearchParamLookupContextEnum
- All Implemented Interfaces:
Serializable
,Comparable<ISearchParamRegistry.SearchParamLookupContextEnum>
- Enclosing interface:
ISearchParamRegistry
public static enum ISearchParamRegistry.SearchParamLookupContextEnum
extends Enum<ISearchParamRegistry.SearchParamLookupContextEnum>
Describes the context for looking up individual search parameters or lists of search parameters.
These can be thought of as filter criteria - Most search parameters generally apply to all
context, but some may be explicitly defined to only work for some.
- Since:
- 8.0.0
-
Enum Constant Summary
Enum ConstantDescriptionReturn any search parameters that are known to the system for any contextSearch parameter should be used when indexing a resource that is being persistedSearch parameter should be used for searching.Search parameter should be used for sorting via the _sort parameter. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDEX
Search parameter should be used when indexing a resource that is being persisted -
SEARCH
Search parameter should be used for searching. This includes explicit searches such as standard REST FHIR searches, but also includes resolving match URLs, subscription criteria, etc. -
SORT
Search parameter should be used for sorting via the _sort parameter. -
ALL
Return any search parameters that are known to the system for any context
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-