Package com.ibm.fhir.path.patch
Class FHIRPathPatchAdd
- java.lang.Object
-
- com.ibm.fhir.path.patch.FHIRPathPatchOperation
-
- com.ibm.fhir.path.patch.FHIRPathPatchAdd
-
- All Implemented Interfaces:
com.ibm.fhir.model.patch.FHIRPatch
class FHIRPathPatchAdd extends FHIRPathPatchOperation
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StringfhirPath(package private) Stringname(package private) com.ibm.fhir.model.type.Elementvalue-
Fields inherited from class com.ibm.fhir.path.patch.FHIRPathPatchOperation
DESTINATION, INDEX, NAME, OPERATION, PATH, SOURCE, TYPE, VALUE
-
-
Constructor Summary
Constructors Constructor Description FHIRPathPatchAdd(String fhirPath, String name, com.ibm.fhir.model.type.Element value)
-
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
-
-
-
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
-
-