Package ca.uhn.fhir.rest.server.method
Enum TransactionParameter.ParamStyle
- java.lang.Object
-
- java.lang.Enum<TransactionParameter.ParamStyle>
-
- ca.uhn.fhir.rest.server.method.TransactionParameter.ParamStyle
-
- All Implemented Interfaces:
Serializable,Comparable<TransactionParameter.ParamStyle>
- Enclosing class:
- TransactionParameter
public static enum TransactionParameter.ParamStyle extends Enum<TransactionParameter.ParamStyle>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RESOURCE_BUNDLENew style bundle (defined in hapi-fhir-structures-* as a resource definition itselfRESOURCE_LISTList of resources
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionParameter.ParamStylevalueOf(String name)Returns the enum constant of this type with the specified name.static TransactionParameter.ParamStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_BUNDLE
public static final TransactionParameter.ParamStyle RESOURCE_BUNDLE
New style bundle (defined in hapi-fhir-structures-* as a resource definition itself
-
RESOURCE_LIST
public static final TransactionParameter.ParamStyle RESOURCE_LIST
List of resources
-
-
Method Detail
-
values
public static TransactionParameter.ParamStyle[] 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 (TransactionParameter.ParamStyle c : TransactionParameter.ParamStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionParameter.ParamStyle 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
-
-