Package ca.uhn.fhir.jpa.api.model
Enum HistoryCountModeEnum
- All Implemented Interfaces:
Serializable
,Comparable<HistoryCountModeEnum>
-
Enum Constant Summary
Enum ConstantDescriptionFor history invocations with no offset (i.e.Always include an accurate count in the responseDo not include a count in history responses -
Method Summary
Modifier and TypeMethodDescriptionstatic HistoryCountModeEnum
Returns the enum constant of this type with the specified name.static HistoryCountModeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COUNT_ACCURATE
Always include an accurate count in the response -
CACHED_ONLY_WITHOUT_OFFSET
For history invocations with no offset (i.e. no since-date specified), always include a count in the response, but cache the count so that the count may be slightly out of date (but resource usage will be much lower). For history invocations with an offset, never return a count. -
COUNT_DISABLED
Do not include a count in history responses
-
-
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
-