Class ConditionalReadStatus

  • All Implemented Interfaces:
    Visitable

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

      • NOT_SUPPORTED

        public static final ConditionalReadStatus NOT_SUPPORTED
        Not Supported

        No support for conditional reads.

      • MODIFIED_SINCE

        public static final ConditionalReadStatus MODIFIED_SINCE
        If-Modified-Since

        Conditional reads are supported, but only with the If-Modified-Since HTTP Header.

      • NOT_MATCH

        public static final ConditionalReadStatus NOT_MATCH
        If-None-Match

        Conditional reads are supported, but only with the If-None-Match HTTP Header.

      • FULL_SUPPORT

        public static final ConditionalReadStatus FULL_SUPPORT
        Full Support

        Conditional reads are supported, with both If-Modified-Since and If-None-Match HTTP Headers.

    • Method Detail

      • of

        public static ConditionalReadStatus of​(String value)
        Factory method for creating ConditionalReadStatus 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 ConditionalReadStatus 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 ConditionalReadStatus 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