Class RepositoryType

  • All Implemented Interfaces:
    Visitable

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

      • DIRECTLINK

        public static final RepositoryType DIRECTLINK
        Click and see

        When URL is clicked, the resource can be seen directly (by webpage or by download link format).

      • OPENAPI

        public static final RepositoryType OPENAPI
        The URL is the RESTful or other kind of API that can access to the result.

        When the API method (e.g. [base_url]/[parameter]) related with the URL of the website is executed, the resource can be seen directly (usually in JSON or XML format).

      • LOGIN

        public static final RepositoryType LOGIN
        Result cannot be access unless an account is logged in

        When logged into the website, the resource can be seen.

      • OAUTH

        public static final RepositoryType OAUTH
        Result need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)

        When logged in and follow the API in the website related with URL, the resource can be seen.

      • OTHER

        public static final RepositoryType OTHER
        Some other complicated or particular way to get resource from URL.

        Some other complicated or particular way to get resource from URL.

    • Method Detail

      • of

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