Class BundleType
- 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.BundleType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class BundleType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBundleType.Builderstatic classBundleType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static BundleTypeBATCHBatchstatic BundleTypeBATCH_RESPONSEBatch Responsestatic BundleTypeCOLLECTIONCollectionstatic BundleTypeDOCUMENTDocumentstatic BundleTypeHISTORYHistory Liststatic BundleTypeMESSAGEMessagestatic BundleTypeSEARCHSETSearch Resultsstatic BundleTypeTRANSACTIONTransactionstatic BundleTypeTRANSACTION_RESPONSETransaction Response
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BundleType.Builderbuilder()static Codecode(String value)Inherited factory method for creating BundleType objects from a passed string value.booleanequals(Object obj)BundleType.ValueSetgetValueAsEnumConstant()inthashCode()static BundleTypeof(BundleType.ValueSet value)Factory method for creating BundleType objects from a passed enum value.static BundleTypeof(String value)Factory method for creating BundleType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating BundleType objects from a passed string value.BundleType.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
-
DOCUMENT
public static final BundleType DOCUMENT
DocumentThe bundle is a document. The first resource is a Composition.
-
MESSAGE
public static final BundleType MESSAGE
MessageThe bundle is a message. The first resource is a MessageHeader.
-
TRANSACTION
public static final BundleType TRANSACTION
TransactionThe bundle is a transaction - intended to be processed by a server as an atomic commit.
-
TRANSACTION_RESPONSE
public static final BundleType 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 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 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 HISTORY
History ListThe bundle is a list of resources from a history interaction on a server.
-
SEARCHSET
public static final BundleType 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 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
-
getValueAsEnumConstant
public BundleType.ValueSet getValueAsEnumConstant()
-
of
public static BundleType of(BundleType.ValueSet value)
Factory method for creating BundleType objects from a passed enum value.
-
of
public static BundleType of(String value)
Factory method for creating BundleType 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 BundleType 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 BundleType 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 BundleType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static BundleType.Builder builder()
-
-