Package com.ibm.fhir.model.type.code
Enum ResourceVersionPolicy.ValueSet
- java.lang.Object
-
- java.lang.Enum<ResourceVersionPolicy.ValueSet>
-
- com.ibm.fhir.model.type.code.ResourceVersionPolicy.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<ResourceVersionPolicy.ValueSet>
- Enclosing class:
- ResourceVersionPolicy
public static enum ResourceVersionPolicy.ValueSet extends Enum<ResourceVersionPolicy.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_VERSIONNo VersionId SupportVERSIONEDVersionedVERSIONED_UPDATEVersionId tracked fully
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceVersionPolicy.ValueSetfrom(String value)Factory method for creating ResourceVersionPolicy.ValueSet values from a passed string value.Stringvalue()static ResourceVersionPolicy.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static ResourceVersionPolicy.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_VERSION
public static final ResourceVersionPolicy.ValueSet NO_VERSION
No VersionId SupportVersionId meta-property is not supported (server) or used (client).
-
VERSIONED
public static final ResourceVersionPolicy.ValueSet VERSIONED
VersionedVersionId meta-property is supported (server) or used (client).
-
VERSIONED_UPDATE
public static final ResourceVersionPolicy.ValueSet VERSIONED_UPDATE
VersionId tracked fullyVersionId must be correct for updates (server) or will be specified (If-match header) for updates (client).
-
-
Method Detail
-
values
public static ResourceVersionPolicy.ValueSet[] 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 (ResourceVersionPolicy.ValueSet c : ResourceVersionPolicy.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceVersionPolicy.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static ResourceVersionPolicy.ValueSet from(String value)
Factory method for creating ResourceVersionPolicy.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-