Package com.ibm.fhir.model.type.code
Class ResourceVersionPolicy
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.ResourceVersionPolicy
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ResourceVersionPolicy extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceVersionPolicy.Builderstatic classResourceVersionPolicy.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ResourceVersionPolicyNO_VERSIONNo VersionId Supportstatic ResourceVersionPolicyVERSIONEDVersionedstatic ResourceVersionPolicyVERSIONED_UPDATEVersionId tracked fully
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceVersionPolicy.Builderbuilder()static Codecode(String value)Inherited factory method for creating ResourceVersionPolicy objects from a passed string value.booleanequals(Object obj)ResourceVersionPolicy.ValueSetgetValueAsEnumConstant()inthashCode()static ResourceVersionPolicyof(ResourceVersionPolicy.ValueSet value)Factory method for creating ResourceVersionPolicy objects from a passed enum value.static ResourceVersionPolicyof(String value)Factory method for creating ResourceVersionPolicy objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ResourceVersionPolicy objects from a passed string value.ResourceVersionPolicy.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
NO_VERSION
public static final ResourceVersionPolicy NO_VERSION
No VersionId SupportVersionId meta-property is not supported (server) or used (client).
-
VERSIONED
public static final ResourceVersionPolicy VERSIONED
VersionedVersionId meta-property is supported (server) or used (client).
-
VERSIONED_UPDATE
public static final ResourceVersionPolicy VERSIONED_UPDATE
VersionId tracked fullyVersionId must be correct for updates (server) or will be specified (If-match header) for updates (client).
-
-
Method Detail
-
getValueAsEnumConstant
public ResourceVersionPolicy.ValueSet getValueAsEnumConstant()
-
of
public static ResourceVersionPolicy of(ResourceVersionPolicy.ValueSet value)
Factory method for creating ResourceVersionPolicy objects from a passed enum value.
-
of
public static ResourceVersionPolicy of(String value)
Factory method for creating ResourceVersionPolicy objects 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
-
string
public static String string(String value)
Inherited factory method for creating ResourceVersionPolicy objects 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
-
code
public static Code code(String value)
Inherited factory method for creating ResourceVersionPolicy objects 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
-
toBuilder
public ResourceVersionPolicy.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ResourceVersionPolicy.Builder builder()
-
-