Package ca.uhn.fhir.model.dstu2.valueset
Enum ResourceVersionPolicyEnum
- java.lang.Object
-
- java.lang.Enum<ResourceVersionPolicyEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.ResourceVersionPolicyEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceVersionPolicyEnum>
public enum ResourceVersionPolicyEnum extends Enum<ResourceVersionPolicyEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_VERSIONID_SUPPORTDisplay: No VersionId Support
Code Value: no-version VersionId meta-property is not supported (server) or used (client).VERSIONEDDisplay: Versioned
Code Value: versioned VersionId meta-property is supported (server) or used (client).VERSIONID_TRACKED_FULLYDisplay: VersionId tracked fully
Code Value: versioned-update VersionId is must be correct for updates (server) or will be specified (If-match header) for updates (client).
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<ResourceVersionPolicyEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: ResourceVersionPolicy
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceVersionPolicyEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic ResourceVersionPolicyEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceVersionPolicyEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_VERSIONID_SUPPORT
public static final ResourceVersionPolicyEnum NO_VERSIONID_SUPPORT
Display: No VersionId Support
Code Value: no-version VersionId meta-property is not supported (server) or used (client).
-
VERSIONED
public static final ResourceVersionPolicyEnum VERSIONED
Display: Versioned
Code Value: versioned VersionId meta-property is supported (server) or used (client).
-
VERSIONID_TRACKED_FULLY
public static final ResourceVersionPolicyEnum VERSIONID_TRACKED_FULLY
Display: VersionId tracked fully
Code Value: versioned-update VersionId is must be correct for updates (server) or will be specified (If-match header) for updates (client).
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: ResourceVersionPolicy- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<ResourceVersionPolicyEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static ResourceVersionPolicyEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResourceVersionPolicyEnum c : ResourceVersionPolicyEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceVersionPolicyEnum valueOf(String name)
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
-
forCode
public static ResourceVersionPolicyEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-