Package ca.uhn.fhir.rest.param
Enum ParamPrefixEnum
- All Implemented Interfaces:
Serializable
,Comparable<ParamPrefixEnum>
Comparator/qualifier for values used in REST params, such as
DateParam
, NumberParam
, and
QuantityParam
- Since:
- 1.5
-
Enum Constant Summary
Enum ConstantDescriptionCode Value: eq The actual value is equal to the given valueCode Value: eb The range of the search value does overlap not with the range of the target value, and the range above the search value contains the range of the target valueCode Value: eq The actual value is equal to the given valueCode Value: gt The actual value is greater than the given value.Code Value: ge The actual value is greater than or equal to the given value.Code Value: lt The actual value is less than the given value.Code Value: le The actual value is less than or equal to the given value.Code Value: ne The actual value is not equal to the given valueCode Value: sa The range of the search value does not overlap with the range of the target value, and the range below the search value contains the range of the target value -
Method Summary
Modifier and TypeMethodDescriptionstatic ParamPrefixEnum
Returns the prefix associated with a given DSTU2+ value (e.g.getValue()
Returns the value, e.g.static ParamPrefixEnum
Returns the enum constant of this type with the specified name.static ParamPrefixEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPROXIMATE
Code Value: eq The actual value is equal to the given value -
ENDS_BEFORE
Code Value: eb The range of the search value does overlap not with the range of the target value, and the range above the search value contains the range of the target value -
EQUAL
Code Value: eq The actual value is equal to the given value -
GREATERTHAN
Code Value: gt The actual value is greater than the given value. -
GREATERTHAN_OR_EQUALS
Code Value: ge The actual value is greater than or equal to the given value. -
LESSTHAN
Code Value: lt The actual value is less than the given value. -
LESSTHAN_OR_EQUALS
Code Value: le The actual value is less than or equal to the given value. -
NOT_EQUAL
Code Value: ne The actual value is not equal to the given value -
STARTS_AFTER
Code Value: sa The range of the search value does not overlap with the range of the target value, and the range below the search value contains the range of the target value
-
-
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
-
getValue
Returns the value, e.g.lt
oreq
-
forValue
Returns the prefix associated with a given DSTU2+ value (e.g.lt
oreq
)- Parameters:
theValue
- e.g.<
or~
- Returns:
- The prefix, or
null
if no prefix matches the value
-