Package com.ibm.fhir.model.type.code
Class RepositoryType
- 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.RepositoryType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class RepositoryType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepositoryType.Builderstatic classRepositoryType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static RepositoryTypeDIRECTLINKClick and seestatic RepositoryTypeLOGINResult cannot be access unless an account is logged instatic RepositoryTypeOAUTHResult need to be fetched with API and need LOGIN( or cookies are required when visiting the link of resource)static RepositoryTypeOPENAPIThe URL is the RESTful or other kind of API that can access to the result.static RepositoryTypeOTHERSome other complicated or particular way to get resource from URL.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RepositoryType.Builderbuilder()static Codecode(String value)Inherited factory method for creating RepositoryType objects from a passed string value.booleanequals(Object obj)RepositoryType.ValueSetgetValueAsEnumConstant()inthashCode()static RepositoryTypeof(RepositoryType.ValueSet value)Factory method for creating RepositoryType objects from a passed enum value.static RepositoryTypeof(String value)Factory method for creating RepositoryType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating RepositoryType objects from a passed string value.RepositoryType.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
-
DIRECTLINK
public static final RepositoryType DIRECTLINK
Click and seeWhen 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 inWhen 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
-
getValueAsEnumConstant
public RepositoryType.ValueSet getValueAsEnumConstant()
-
of
public static RepositoryType of(RepositoryType.ValueSet value)
Factory method for creating RepositoryType objects from a passed enum value.
-
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
-
toBuilder
public RepositoryType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static RepositoryType.Builder builder()
-
-