Enum BundleType.ValueSet
- java.lang.Object
-
- java.lang.Enum<BundleType.ValueSet>
-
- com.ibm.fhir.model.type.code.BundleType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<BundleType.ValueSet>
- Enclosing class:
- BundleType
public static enum BundleType.ValueSet extends Enum<BundleType.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATCHBatchBATCH_RESPONSEBatch ResponseCOLLECTIONCollectionDOCUMENTDocumentHISTORYHistory ListMESSAGEMessageSEARCHSETSearch ResultsTRANSACTIONTransactionTRANSACTION_RESPONSETransaction Response
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BundleType.ValueSetfrom(String value)Factory method for creating BundleType.ValueSet values from a passed string value.Stringvalue()static BundleType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static BundleType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT
public static final BundleType.ValueSet DOCUMENT
DocumentThe bundle is a document. The first resource is a Composition.
-
MESSAGE
public static final BundleType.ValueSet MESSAGE
MessageThe bundle is a message. The first resource is a MessageHeader.
-
TRANSACTION
public static final BundleType.ValueSet TRANSACTION
TransactionThe bundle is a transaction - intended to be processed by a server as an atomic commit.
-
TRANSACTION_RESPONSE
public static final BundleType.ValueSet TRANSACTION_RESPONSE
Transaction ResponseThe bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free.
-
BATCH
public static final BundleType.ValueSet BATCH
BatchThe bundle is a set of actions - intended to be processed by a server as a group of independent actions.
-
BATCH_RESPONSE
public static final BundleType.ValueSet BATCH_RESPONSE
Batch ResponseThe bundle is a batch response. Note that as a batch, some responses may indicate failure and others success.
-
HISTORY
public static final BundleType.ValueSet HISTORY
History ListThe bundle is a list of resources from a history interaction on a server.
-
SEARCHSET
public static final BundleType.ValueSet SEARCHSET
Search ResultsThe bundle is a list of resources returned as a result of a search/query interaction, operation, or message.
-
COLLECTION
public static final BundleType.ValueSet COLLECTION
CollectionThe bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.
-
-
Method Detail
-
values
public static BundleType.ValueSet[] 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 (BundleType.ValueSet c : BundleType.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BundleType.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static BundleType.ValueSet from(String value)
Factory method for creating BundleType.ValueSet values 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
-
-