Class AbstractMemberMatch
- java.lang.Object
 - 
- com.ibm.fhir.operation.davinci.hrex.provider.strategy.AbstractMemberMatch
 
 
- 
- All Implemented Interfaces:
 MemberMatchStrategy
- Direct Known Subclasses:
 DefaultMemberMatchStrategy
public abstract class AbstractMemberMatch extends Object implements MemberMatchStrategy
The MemberMatch Strategy Template which controls the order of processing of the methods and provides integral logic for MemberMatch. 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractMemberMatch() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Parametersexecute(FHIROperationContext ctx, Parameters input, FHIRResourceHelpers resourceHelper)takes a set of input parameters(package private) abstract MemberMatchResultexecuteMemberMatch()Parametersoutput(MemberMatchResult result)Translates the output to ParametersFHIRResourceHelpersresourceHelper()Get the resource helpers.voidreturnMultipleMatchesException()Generates the multiple-match exception.voidreturnNoMatchException()Generates the no-match exception.voidsetFHIROperationContext(FHIROperationContext ctx)sets the context used in the MemberMatch.(package private) abstract voidvalidate(Parameters input)validates the contents and type of the member match- 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.ibm.fhir.operation.davinci.hrex.provider.strategy.MemberMatchStrategy
getMemberMatchIdentifier 
 - 
 
 - 
 
- 
- 
Method Detail
- 
execute
public final Parameters execute(FHIROperationContext ctx, Parameters input, FHIRResourceHelpers resourceHelper) throws FHIROperationException
Description copied from interface:MemberMatchStrategytakes a set of input parameters- Specified by:
 executein interfaceMemberMatchStrategy- Returns:
 - Throws:
 FHIROperationException
 
- 
resourceHelper
public FHIRResourceHelpers resourceHelper()
Get the resource helpers.- Returns:
 
 
- 
setFHIROperationContext
public void setFHIROperationContext(FHIROperationContext ctx)
sets the context used in the MemberMatch.- Parameters:
 ctx-
 
- 
output
public final Parameters output(MemberMatchResult result)
Translates the output to Parameters- Parameters:
 result- of the MemberMatch execution- Returns:
 - output Parameters object
 
 
- 
returnNoMatchException
public final void returnNoMatchException()
Generates the no-match exception. 
- 
returnMultipleMatchesException
public final void returnMultipleMatchesException()
Generates the multiple-match exception. 
- 
executeMemberMatch
abstract MemberMatchResult executeMemberMatch() throws FHIROperationException
- Throws:
 FHIROperationException- indicating a MemberMatch execution Error
 
- 
validate
abstract void validate(Parameters input) throws FHIROperationException
validates the contents and type of the member match- Parameters:
 input- to the MemberMatchOperation- Throws:
 FHIROperationException
 
 - 
 
 -