Class Context
- java.lang.Object
-
- org.linuxforhealth.fhir.audit.beans.Context
-
- Direct Known Subclasses:
FHIRContext
public class Context extends java.lang.Object
This class defines the Context section of the FHIR server AuditLogEntry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Context.Builder
Builder is a convenience pattern to assemble to Java Objectstatic class
Context.Parser
Parserstatic class
Context.Writer
Generates JSON from this object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Context.Builder
builder()
java.lang.String
getAction()
ApiParameters
getApiParameters()
Batch
getBatch()
Data
getData()
java.lang.String
getEndTime()
java.lang.String
getOperationName()
java.lang.String
getPurpose()
java.lang.String
getQueryParameters()
java.lang.String
getRequestUniqueId()
java.lang.String
getResourceName()
java.lang.String
getStartTime()
void
setAction(java.lang.String action)
void
setApiParameters(ApiParameters apiParameters)
void
setBatch(Batch batch)
void
setData(Data data)
void
setEndTime(java.lang.String endTime)
void
setOperationName(java.lang.String operationName)
void
setPurpose(java.lang.String purpose)
void
setQueryParameters(java.lang.String queryParms)
void
setRequestUniqueId(java.lang.String requestUniqueId)
void
setResourceName(java.lang.String resourceName)
void
setStartTime(java.lang.String startTime)
-
-
-
Constructor Detail
-
Context
public Context()
-
Context
public Context(Context fromObj)
-
-
Method Detail
-
getData
public Data getData()
-
setData
public void setData(Data data)
-
getAction
public java.lang.String getAction()
-
setAction
public void setAction(java.lang.String action)
-
getQueryParameters
public java.lang.String getQueryParameters()
-
setQueryParameters
public void setQueryParameters(java.lang.String queryParms)
-
getStartTime
public java.lang.String getStartTime()
-
setStartTime
public void setStartTime(java.lang.String startTime)
-
getEndTime
public java.lang.String getEndTime()
-
setEndTime
public void setEndTime(java.lang.String endTime)
-
getApiParameters
public ApiParameters getApiParameters()
-
setApiParameters
public void setApiParameters(ApiParameters apiParameters)
-
getBatch
public Batch getBatch()
-
setBatch
public void setBatch(Batch batch)
-
getPurpose
public java.lang.String getPurpose()
-
setPurpose
public void setPurpose(java.lang.String purpose)
-
getOperationName
public java.lang.String getOperationName()
-
setOperationName
public void setOperationName(java.lang.String operationName)
-
getRequestUniqueId
public java.lang.String getRequestUniqueId()
-
setRequestUniqueId
public void setRequestUniqueId(java.lang.String requestUniqueId)
-
builder
public static Context.Builder builder()
-
getResourceName
public java.lang.String getResourceName()
- Returns:
- the resourceName
-
setResourceName
public void setResourceName(java.lang.String resourceName)
- Parameters:
resourceName
- the resourceName to set
-
-