Package com.ibm.fhir.server.rest
Class FHIRRestInteractionBase
- java.lang.Object
 - 
- com.ibm.fhir.server.rest.FHIRRestInteractionBase
 
 
- 
- All Implemented Interfaces:
 FHIRRestInteraction
- Direct Known Subclasses:
 FHIRRestInteractionDelete,FHIRRestInteractionHistory,FHIRRestInteractionIssue,FHIRRestInteractionRead,FHIRRestInteractionResource,FHIRRestInteractionSearch,FHIRRestInteractionVRead
public abstract class FHIRRestInteractionBase extends java.lang.Object implements FHIRRestInteraction
Base forFHIRRestInteractionimplementations, providing common functions 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedFHIRRestInteractionBase(int entryIndex, java.lang.String requestDescription, FHIRUrlParser requestURL)Protected constructor 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccept(FHIRRestInteractionVisitor visitor)Perform this interaction on the given visitor.longgetAccumulatedTime()intgetEntryIndex()Get the index for the response bundle entryjava.lang.StringgetRequestDescription()FHIRUrlParsergetRequestURL()java.util.List<OperationOutcome.Issue>getWarnings()protected abstract voidprocess(FHIRRestInteractionVisitor visitor)Process this interaction 
 - 
 
- 
- 
Constructor Detail
- 
FHIRRestInteractionBase
protected FHIRRestInteractionBase(int entryIndex, java.lang.String requestDescription, FHIRUrlParser requestURL)Protected constructor- Parameters:
 entryIndex-event-requestDescription-requestURL-
 
 - 
 
- 
Method Detail
- 
accept
public void accept(FHIRRestInteractionVisitor visitor) throws java.lang.Exception
Description copied from interface:FHIRRestInteractionPerform this interaction on the given visitor. Some implementations may chose to update their internal state based on the interaction.- Specified by:
 acceptin interfaceFHIRRestInteraction- Throws:
 java.lang.Exception
 
- 
process
protected abstract void process(FHIRRestInteractionVisitor visitor) throws java.lang.Exception
Process this interaction- Parameters:
 visitor-- Throws:
 java.lang.Exception
 
- 
getEntryIndex
public int getEntryIndex()
Description copied from interface:FHIRRestInteractionGet the index for the response bundle entry- Specified by:
 getEntryIndexin interfaceFHIRRestInteraction- Returns:
 
 
- 
getRequestDescription
public java.lang.String getRequestDescription()
- Returns:
 - the requestDescription
 
 
- 
getAccumulatedTime
public long getAccumulatedTime()
- Returns:
 - the accumulatedTime
 
 
- 
getRequestURL
public FHIRUrlParser getRequestURL()
- Returns:
 - the requestURL
 
 
- 
getWarnings
public java.util.List<OperationOutcome.Issue> getWarnings()
- Returns:
 - the warnings list
 
 
 - 
 
 -