Class TestScript.SetupActionAssert
- 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: Evaluates the results of previous operations to determine if the server under test behaves appropriately.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for compareToSourceId ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for compareToSourceId ().Gets the value(s) for compareToSourcePath ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for compareToSourcePath ().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 direction ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AssertionDirectionTypeEnum> Gets the value(s) for direction ().Gets the value(s) for headerField ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for headerField ().getLabel()
Gets the value(s) for label ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for label ().Gets the value(s) for minimumId ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for minimumId ().Gets the value(s) for navigationLinks ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for navigationLinks ().Gets the value(s) for operator ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AssertionOperatorTypeEnum> Gets the value(s) for operator ().getPath()
Gets the value(s) for path ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for path ().Gets the value(s) for resource ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for resource ().Gets the value(s) for response ().Gets the value(s) for responseCode ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for responseCode ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AssertionResponseTypesEnum> Gets the value(s) for response ().Gets the value(s) for sourceId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for sourceId ().Gets the value(s) for validateProfileId ().ca.uhn.fhir.model.primitive.IdDt
Gets the value(s) for validateProfileId ().getValue()
Gets the value(s) for value ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for value ().Gets the value(s) for warningOnly ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for warningOnly ().boolean
isEmpty()
setCompareToSourceId
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for compareToSourceId ()setCompareToSourceId
(String theString) Sets the value for compareToSourceId ()setCompareToSourcePath
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for compareToSourcePath ()setCompareToSourcePath
(String theString) Sets the value for compareToSourcePath ()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 ()setDirection
(AssertionDirectionTypeEnum theValue) Sets the value(s) for direction ()setDirection
(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionDirectionTypeEnum> theValue) Sets the value(s) for direction ()setHeaderField
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for headerField ()setHeaderField
(String theString) Sets the value for headerField ()setLabel
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for label ()Sets the value for label ()setMinimumId
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for minimumId ()setMinimumId
(String theString) Sets the value for minimumId ()setNavigationLinks
(boolean theBoolean) Sets the value for navigationLinks ()setNavigationLinks
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for navigationLinks ()setOperator
(AssertionOperatorTypeEnum theValue) Sets the value(s) for operator ()setOperator
(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionOperatorTypeEnum> theValue) Sets the value(s) for operator ()setPath
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for path ()Sets the value for path ()setResource
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for resource ()setResource
(String theCode) Sets the value for resource ()setResponse
(AssertionResponseTypesEnum theValue) Sets the value(s) for response ()setResponse
(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionResponseTypesEnum> theValue) Sets the value(s) for response ()setResponseCode
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for responseCode ()setResponseCode
(String theString) Sets the value for responseCode ()setSourceId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for sourceId ()setSourceId
(String theId) Sets the value for sourceId ()setValidateProfileId
(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for validateProfileId ()setValidateProfileId
(String theId) Sets the value for validateProfileId ()setValue
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for value ()Sets the value for value ()setWarningOnly
(boolean theBoolean) Sets the value for warningOnly ()setWarningOnly
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for warningOnly ()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
-
SetupActionAssert
public SetupActionAssert()
-
-
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
-
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
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.
-
getDirectionElement
Gets the value(s) for direction (). creating it if it does not exist. Will not returnnull
.Definition: The direction to use for the assertion.
-
getDirection
Gets the value(s) for direction (). creating it if it does not exist. This method may returnnull
.Definition: The direction to use for the assertion.
-
setDirection
public TestScript.SetupActionAssert setDirection(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionDirectionTypeEnum> theValue) Sets the value(s) for direction ()Definition: The direction to use for the assertion.
-
setDirection
Sets the value(s) for direction ()Definition: The direction to use for the assertion.
-
getCompareToSourceIdElement
Gets the value(s) for compareToSourceId (). creating it if it does not exist. Will not returnnull
.Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
-
getCompareToSourceId
Gets the value(s) for compareToSourceId (). creating it if it does not exist. This method may returnnull
.Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
-
setCompareToSourceId
public TestScript.SetupActionAssert setCompareToSourceId(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for compareToSourceId ()Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
-
setCompareToSourceId
Sets the value for compareToSourceId ()Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
-
getCompareToSourcePathElement
Gets the value(s) for compareToSourcePath (). creating it if it does not exist. Will not returnnull
.Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
-
getCompareToSourcePath
Gets the value(s) for compareToSourcePath (). creating it if it does not exist. This method may returnnull
.Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
-
setCompareToSourcePath
public TestScript.SetupActionAssert setCompareToSourcePath(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for compareToSourcePath ()Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
-
setCompareToSourcePath
Sets the value for compareToSourcePath ()Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
-
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.SetupActionAssert 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.
-
getHeaderFieldElement
Gets the value(s) for headerField (). creating it if it does not exist. Will not returnnull
.Definition: The HTTP header field name e.g. 'Location'
-
getHeaderField
Gets the value(s) for headerField (). creating it if it does not exist. This method may returnnull
.Definition: The HTTP header field name e.g. 'Location'
-
setHeaderField
Sets the value(s) for headerField ()Definition: The HTTP header field name e.g. 'Location'
-
setHeaderField
Sets the value for headerField ()Definition: The HTTP header field name e.g. 'Location'
-
getMinimumIdElement
Gets the value(s) for minimumId (). creating it if it does not exist. Will not returnnull
.Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
getMinimumId
Gets the value(s) for minimumId (). creating it if it does not exist. This method may returnnull
.Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
setMinimumId
Sets the value(s) for minimumId ()Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
setMinimumId
Sets the value for minimumId ()Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
getOperatorElement
Gets the value(s) for operator (). creating it if it does not exist. Will not returnnull
.Definition: The operator type
-
getOperator
Gets the value(s) for operator (). creating it if it does not exist. This method may returnnull
.Definition: The operator type
-
setOperator
public TestScript.SetupActionAssert setOperator(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionOperatorTypeEnum> theValue) Sets the value(s) for operator ()Definition: The operator type
-
setOperator
Sets the value(s) for operator ()Definition: The operator type
-
getPathElement
Gets the value(s) for path (). creating it if it does not exist. Will not returnnull
.Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
getPath
Gets the value(s) for path (). creating it if it does not exist. This method may returnnull
.Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
setPath
Sets the value(s) for path ()Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
setPath
Sets the value for path ()Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
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.
-
getResponseElement
Gets the value(s) for response (). creating it if it does not exist. Will not returnnull
.Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
-
getResponse
Gets the value(s) for response (). creating it if it does not exist. This method may returnnull
.Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
-
setResponse
public TestScript.SetupActionAssert setResponse(ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionResponseTypesEnum> theValue) Sets the value(s) for response ()Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
-
setResponse
Sets the value(s) for response ()Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
-
getResponseCodeElement
Gets the value(s) for responseCode (). creating it if it does not exist. Will not returnnull
.Definition: The value of the HTTP response code to be tested
-
getResponseCode
Gets the value(s) for responseCode (). creating it if it does not exist. This method may returnnull
.Definition: The value of the HTTP response code to be tested
-
setResponseCode
Sets the value(s) for responseCode ()Definition: The value of the HTTP response code to be tested
-
setResponseCode
Sets the value for responseCode ()Definition: The value of the HTTP response code to be tested
-
getSourceIdElement
Gets the value(s) for sourceId (). creating it if it does not exist. Will not returnnull
.Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
getSourceId
Gets the value(s) for sourceId (). creating it if it does not exist. This method may returnnull
.Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
setSourceId
Sets the value(s) for sourceId ()Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
setSourceId
Sets the value for sourceId ()Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
getValidateProfileIdElement
Gets the value(s) for validateProfileId (). creating it if it does not exist. Will not returnnull
.Definition: The ID of the Profile to validate against.
-
getValidateProfileId
Gets the value(s) for validateProfileId (). creating it if it does not exist. This method may returnnull
.Definition: The ID of the Profile to validate against.
-
setValidateProfileId
Sets the value(s) for validateProfileId ()Definition: The ID of the Profile to validate against.
-
setValidateProfileId
Sets the value for validateProfileId ()Definition: The ID of the Profile to validate against.
-
getValueElement
Gets the value(s) for value (). creating it if it does not exist. Will not returnnull
.Definition: The value to compare to
-
getValue
Gets the value(s) for value (). creating it if it does not exist. This method may returnnull
.Definition: The value to compare to
-
setValue
Sets the value(s) for value ()Definition: The value to compare to
-
setValue
Sets the value for value ()Definition: The value to compare to
-
getWarningOnlyElement
Gets the value(s) for warningOnly (). creating it if it does not exist. Will not returnnull
.Definition: Whether or not the test execution will produce a warning only on error for this assert
-
getWarningOnly
Gets the value(s) for warningOnly (). creating it if it does not exist. This method may returnnull
.Definition: Whether or not the test execution will produce a warning only on error for this assert
-
setWarningOnly
Sets the value(s) for warningOnly ()Definition: Whether or not the test execution will produce a warning only on error for this assert
-
setWarningOnly
Sets the value for warningOnly ()Definition: Whether or not the test execution will produce a warning only on error for this assert
-