Package com.ibm.fhir.path.patch
Class FHIRPathPatch
- java.lang.Object
-
- com.ibm.fhir.path.patch.FHIRPathPatch
-
- All Implemented Interfaces:
com.ibm.fhir.model.patch.FHIRPatch
public class FHIRPathPatch extends Object implements com.ibm.fhir.model.patch.FHIRPatch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFHIRPathPatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.ibm.fhir.model.resource.Resource>
Tapply(T resource)static FHIRPathPatch.Builderbuilder()static FHIRPathPatchfrom(com.ibm.fhir.model.resource.Parameters params)Parse a FHIRPathPatch from a FHIR Parameters resourceFHIRPathPatch.BuildertoBuilder()com.ibm.fhir.model.resource.ParameterstoParameters()Convert the FHIRPathPatch to a FHIR Parameters resource
-
-
-
Method Detail
-
apply
public <T extends com.ibm.fhir.model.resource.Resource> T apply(T resource) throws com.ibm.fhir.model.patch.exception.FHIRPatchException- Specified by:
applyin interfacecom.ibm.fhir.model.patch.FHIRPatch- Throws:
com.ibm.fhir.model.patch.exception.FHIRPatchException
-
toParameters
public com.ibm.fhir.model.resource.Parameters toParameters()
Convert the FHIRPathPatch to a FHIR Parameters resource
-
toBuilder
public FHIRPathPatch.Builder toBuilder()
-
builder
public static FHIRPathPatch.Builder builder()
-
from
public static FHIRPathPatch from(com.ibm.fhir.model.resource.Parameters params)
Parse a FHIRPathPatch from a FHIR Parameters resource- Throws:
IllegalArgumentException- if the Parameters object does not satisfy the requirements of a FHIRPath Patch
-
-