Class TestScript.SetupActionOperation
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
TestScript
Definition: The operation to perform
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for requestHeader ()Adds a given new value for requestHeader ()Gets the value(s) for accept ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ContentTypeEnum> Gets the value(s) for accept ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for contentType ().ca.uhn.fhir.model.primitive.BoundCodeDt
<ContentTypeEnum> Gets the value(s) for contentType ().Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().Gets the value(s) for destination ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for destination ().Gets the value(s) for encodeRequestUrl ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for encodeRequestUrl ().getLabel()
Gets the value(s) for label ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for label ().Gets the value(s) for params ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for params ().Gets the value(s) for requestHeader ().Gets the first repetition for requestHeader (), creating it if it does not already exist.Gets the value(s) for resource ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for resource ().Gets the value(s) for responseId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for responseId ().Gets the value(s) for sourceId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for sourceId ().Gets the value(s) for targetId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for targetId ().getType()
Gets the value(s) for type ().getUrl()
Gets the value(s) for url ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for url ().boolean
isEmpty()
setAccept
(ContentTypeEnum theValue) Sets the value(s) for accept ()setAccept
(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue) Sets the value(s) for accept ()setContentType
(ContentTypeEnum theValue) Sets the value(s) for contentType ()setContentType
(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue) Sets the value(s) for contentType ()setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setDestination
(int theInteger) Sets the value for destination ()setDestination
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for destination ()setEncodeRequestUrl
(boolean theBoolean) Sets the value for encodeRequestUrl ()setEncodeRequestUrl
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for encodeRequestUrl ()setLabel
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for label ()Sets the value for label ()setParams
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for params ()Sets the value for params ()Sets the value(s) for requestHeader ()setResource
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for resource ()setResource
(String theCode) Sets the value for resource ()setResponseId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for responseId ()setResponseId
(String theId) Sets the value for responseId ()setSourceId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for sourceId ()setSourceId
(String theId) Sets the value for sourceId ()setTargetId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for targetId ()setTargetId
(String theId) Sets the value for targetId ()Sets the value(s) for type ()setUrl
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for url ()Sets the value for url ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
SetupActionOperation
public SetupActionOperation()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: Server interaction or operation type
-
setType
Sets the value(s) for type ()Definition: Server interaction or operation type
-
getResourceElement
Gets the value(s) for resource (). creating it if it does not exist. Will not returnnull
.Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
getResource
Gets the value(s) for resource (). creating it if it does not exist. This method may returnnull
.Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
setResource
Sets the value(s) for resource ()Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
setResource
Sets the value for resource ()Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
getLabelElement
Gets the value(s) for label (). creating it if it does not exist. Will not returnnull
.Definition: The label would be used for tracking/logging purposes by test engines.
-
getLabel
Gets the value(s) for label (). creating it if it does not exist. This method may returnnull
.Definition: The label would be used for tracking/logging purposes by test engines.
-
setLabel
Sets the value(s) for label ()Definition: The label would be used for tracking/logging purposes by test engines.
-
setLabel
Sets the value for label ()Definition: The label would be used for tracking/logging purposes by test engines.
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition: The description would be used by test engines for tracking and reporting purposes.
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition: The description would be used by test engines for tracking and reporting purposes.
-
setDescription
public TestScript.SetupActionOperation setDescription(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()Definition: The description would be used by test engines for tracking and reporting purposes.
-
setDescription
Sets the value for description ()Definition: The description would be used by test engines for tracking and reporting purposes.
-
getAcceptElement
Gets the value(s) for accept (). creating it if it does not exist. Will not returnnull
.Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
getAccept
Gets the value(s) for accept (). creating it if it does not exist. This method may returnnull
.Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
public TestScript.SetupActionOperation setAccept(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue) Sets the value(s) for accept ()Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
Sets the value(s) for accept ()Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
getContentTypeElement
Gets the value(s) for contentType (). creating it if it does not exist. Will not returnnull
.Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
getContentType
Gets the value(s) for contentType (). creating it if it does not exist. This method may returnnull
.Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
public TestScript.SetupActionOperation setContentType(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue) Sets the value(s) for contentType ()Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
Sets the value(s) for contentType ()Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
getDestinationElement
Gets the value(s) for destination (). creating it if it does not exist. Will not returnnull
.Definition: Which server to perform the operation on.
-
getDestination
Gets the value(s) for destination (). creating it if it does not exist. This method may returnnull
.Definition: Which server to perform the operation on.
-
setDestination
public TestScript.SetupActionOperation setDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for destination ()Definition: Which server to perform the operation on.
-
setDestination
Sets the value for destination ()Definition: Which server to perform the operation on.
-
getEncodeRequestUrlElement
Gets the value(s) for encodeRequestUrl (). creating it if it does not exist. Will not returnnull
.Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
getEncodeRequestUrl
Gets the value(s) for encodeRequestUrl (). creating it if it does not exist. This method may returnnull
.Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
setEncodeRequestUrl
public TestScript.SetupActionOperation setEncodeRequestUrl(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for encodeRequestUrl ()Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
setEncodeRequestUrl
Sets the value for encodeRequestUrl ()Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
getParamsElement
Gets the value(s) for params (). creating it if it does not exist. Will not returnnull
.Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getParams
Gets the value(s) for params (). creating it if it does not exist. This method may returnnull
.Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
setParams
Sets the value(s) for params ()Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
setParams
Sets the value for params ()Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getRequestHeader
Gets the value(s) for requestHeader (). creating it if it does not exist. Will not returnnull
.Definition: Header elements would be used to set HTTP headers.
-
setRequestHeader
public TestScript.SetupActionOperation setRequestHeader(List<TestScript.SetupActionOperationRequestHeader> theValue) Sets the value(s) for requestHeader ()Definition: Header elements would be used to set HTTP headers.
-
addRequestHeader
Adds and returns a new value for requestHeader ()Definition: Header elements would be used to set HTTP headers.
-
addRequestHeader
public TestScript.SetupActionOperation addRequestHeader(TestScript.SetupActionOperationRequestHeader theValue) Adds a given new value for requestHeader ()Definition: Header elements would be used to set HTTP headers.
- Parameters:
theValue
- The requestHeader to add (must not benull
)
-
getRequestHeaderFirstRep
Gets the first repetition for requestHeader (), creating it if it does not already exist.Definition: Header elements would be used to set HTTP headers.
-
getResponseIdElement
Gets the value(s) for responseId (). creating it if it does not exist. Will not returnnull
.Definition: The fixture id (maybe new) to map to the response.
-
getResponseId
Gets the value(s) for responseId (). creating it if it does not exist. This method may returnnull
.Definition: The fixture id (maybe new) to map to the response.
-
setResponseId
Sets the value(s) for responseId ()Definition: The fixture id (maybe new) to map to the response.
-
setResponseId
Sets the value for responseId ()Definition: The fixture id (maybe new) to map to the response.
-
getSourceIdElement
Gets the value(s) for sourceId (). creating it if it does not exist. Will not returnnull
.Definition: The id of the fixture used as the body of a PUT or POST request.
-
getSourceId
Gets the value(s) for sourceId (). creating it if it does not exist. This method may returnnull
.Definition: The id of the fixture used as the body of a PUT or POST request.
-
setSourceId
Sets the value(s) for sourceId ()Definition: The id of the fixture used as the body of a PUT or POST request.
-
setSourceId
Sets the value for sourceId ()Definition: The id of the fixture used as the body of a PUT or POST request.
-
getTargetIdElement
Gets the value(s) for targetId (). creating it if it does not exist. Will not returnnull
.Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
getTargetId
Gets the value(s) for targetId (). creating it if it does not exist. This method may returnnull
.Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
setTargetId
Sets the value(s) for targetId ()Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
setTargetId
Sets the value for targetId ()Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
getUrlElement
Gets the value(s) for url (). creating it if it does not exist. Will not returnnull
.Definition: Complete request URL.
-
getUrl
Gets the value(s) for url (). creating it if it does not exist. This method may returnnull
.Definition: Complete request URL.
-
setUrl
Sets the value(s) for url ()Definition: Complete request URL.
-
setUrl
Sets the value for url ()Definition: Complete request URL.
-