Package com.ibm.fhir.path.patch
Class FHIRPathPatchMove
- java.lang.Object
-
- com.ibm.fhir.path.patch.FHIRPathPatchOperation
-
- com.ibm.fhir.path.patch.FHIRPathPatchMove
-
- All Implemented Interfaces:
com.ibm.fhir.model.patch.FHIRPatch
class FHIRPathPatchMove extends FHIRPathPatchOperation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intdestination(package private) StringfhirPath(package private) intsource-
Fields inherited from class com.ibm.fhir.path.patch.FHIRPathPatchOperation
DESTINATION, INDEX, NAME, OPERATION, PATH, SOURCE, TYPE, VALUE
-
-
Constructor Summary
Constructors Constructor Description FHIRPathPatchMove(String fhirPath, Integer source, Integer destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.ibm.fhir.model.resource.Resource>
Tapply(T resource)com.ibm.fhir.model.resource.Parameters.ParametertoParameter()Convert the FHIRPathPatchOperation to a Parameters.Parameter element
-
-
-
Field Detail
-
fhirPath
String fhirPath
-
source
int source
-
destination
int destination
-
-
Method Detail
-
apply
public <T extends com.ibm.fhir.model.resource.Resource> T apply(T resource) throws com.ibm.fhir.model.patch.exception.FHIRPatchException- Throws:
com.ibm.fhir.model.patch.exception.FHIRPatchException
-
toParameter
public com.ibm.fhir.model.resource.Parameters.Parameter toParameter()
Description copied from class:FHIRPathPatchOperationConvert the FHIRPathPatchOperation to a Parameters.Parameter element- Specified by:
toParameterin classFHIRPathPatchOperation
-
-