Class ResourceVersionPolicy

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class ResourceVersionPolicy
    extends Code
    • Field Detail

      • NO_VERSION

        public static final ResourceVersionPolicy NO_VERSION
        No VersionId Support

        VersionId meta-property is not supported (server) or used (client).

      • VERSIONED

        public static final ResourceVersionPolicy VERSIONED
        Versioned

        VersionId meta-property is supported (server) or used (client).

      • VERSIONED_UPDATE

        public static final ResourceVersionPolicy VERSIONED_UPDATE
        VersionId tracked fully

        VersionId must be correct for updates (server) or will be specified (If-match header) for updates (client).

    • Method Detail

      • 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
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code