
Package ca.uhn.fhir.context.api
Enum AddProfileTagEnum
- All Implemented Interfaces:
Serializable
,Comparable<AddProfileTagEnum>
RESTful server behaviour for automatically adding profile tags when serializing resources
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.This mode causes even FHIR's default profiles to be exported in the resource metadata section.Do not add profile tags automaticallyAdd any profile tags that returned resources appear to conform to if the resource is a non-standard class (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic AddProfileTagEnum
Returns the enum constant of this type with the specified name.static AddProfileTagEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEVER
Do not add profile tags automatically -
ALWAYS
Deprecated.This mode causes even FHIR's default profiles to be exported in the resource metadata section. This is not generally expected behaviour from other systems and it offers no real benefit, so it will be removed at some point. This option was deprecated in HAPI 1.5Add any profile tags that returned resources appear to conform to -
ONLY_FOR_CUSTOM
Add any profile tags that returned resources appear to conform to if the resource is a non-standard class (e.g. it is an instance of a class that extends a built in type, but adds or constrains it)
-
-
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
-