Package com.ibm.fhir.persistence
Class MultiResourceResult<T extends Resource>
- java.lang.Object
 - 
- com.ibm.fhir.persistence.MultiResourceResult<T>
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiResourceResult.Builder<T extends Resource> 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends Resource>
MultiResourceResult.Builder<T>builder(Class<T> clazz)OperationOutcomegetOutcome()An OperationOutcome that represents the outcome of the interactionList<T>getResource()The resources returned from the interactionbooleanisSuccess()Whether or not the interaction was successful 
 - 
 
- 
- 
Field Detail
- 
success
final boolean success
 
- 
outcome
final OperationOutcome outcome
 
 - 
 
- 
Method Detail
- 
isSuccess
public boolean isSuccess()
Whether or not the interaction was successful- Returns:
 - whether the interaction was successful
 
 
- 
getResource
public List<T> getResource()
The resources returned from the interaction- Returns:
 - An unmodifiable list containing immutable objects of type 
Resource. 
 
- 
getOutcome
public OperationOutcome getOutcome()
An OperationOutcome that represents the outcome of the interaction- Returns:
 - An immutable object of type 
OperationOutcome 
 
- 
builder
public static <T extends Resource> MultiResourceResult.Builder<T> builder(Class<T> clazz)
 
 - 
 
 -