Enum FhirReadApiMethod
- java.lang.Object
-
- java.lang.Enum<FhirReadApiMethod>
-
- org.apache.camel.component.fhir.internal.FhirReadApiMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<FhirReadApiMethod>
,org.apache.camel.support.component.ApiMethod
public enum FhirReadApiMethod extends Enum<FhirReadApiMethod> implements org.apache.camel.support.component.ApiMethod
CamelApiMethod
Enumeration for org.apache.camel.component.fhir.api.FhirRead
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOURCE_BY_ID
RESOURCE_BY_ID_1
RESOURCE_BY_ID_2
RESOURCE_BY_ID_3
RESOURCE_BY_ID_4
RESOURCE_BY_ID_5
RESOURCE_BY_URL
RESOURCE_BY_URL_1
RESOURCE_BY_URL_2
RESOURCE_BY_URL_3
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getArgNames()
List<Class<?>>
getArgTypes()
Method
getMethod()
String
getName()
Class<?>
getResultType()
static FhirReadApiMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static FhirReadApiMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_BY_ID
public static final FhirReadApiMethod RESOURCE_BY_ID
-
RESOURCE_BY_ID_1
public static final FhirReadApiMethod RESOURCE_BY_ID_1
-
RESOURCE_BY_ID_2
public static final FhirReadApiMethod RESOURCE_BY_ID_2
-
RESOURCE_BY_ID_3
public static final FhirReadApiMethod RESOURCE_BY_ID_3
-
RESOURCE_BY_ID_4
public static final FhirReadApiMethod RESOURCE_BY_ID_4
-
RESOURCE_BY_ID_5
public static final FhirReadApiMethod RESOURCE_BY_ID_5
-
RESOURCE_BY_URL
public static final FhirReadApiMethod RESOURCE_BY_URL
-
RESOURCE_BY_URL_1
public static final FhirReadApiMethod RESOURCE_BY_URL_1
-
RESOURCE_BY_URL_2
public static final FhirReadApiMethod RESOURCE_BY_URL_2
-
RESOURCE_BY_URL_3
public static final FhirReadApiMethod RESOURCE_BY_URL_3
-
-
Method Detail
-
values
public static FhirReadApiMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FhirReadApiMethod c : FhirReadApiMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FhirReadApiMethod valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.apache.camel.support.component.ApiMethod
-
getResultType
public Class<?> getResultType()
- Specified by:
getResultType
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgNames
public List<String> getArgNames()
- Specified by:
getArgNames
in interfaceorg.apache.camel.support.component.ApiMethod
-
getArgTypes
public List<Class<?>> getArgTypes()
- Specified by:
getArgTypes
in interfaceorg.apache.camel.support.component.ApiMethod
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfaceorg.apache.camel.support.component.ApiMethod
-
-