Class TestScript.SetupActionAssert

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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

public static class TestScript.SetupActionAssert extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.setup.action.assert ()

Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
    • getLabelElement

      public ca.uhn.fhir.model.primitive.StringDt getLabelElement()
      Gets the value(s) for label (). creating it if it does not exist. Will not return null.

      Definition: The label would be used for tracking/logging purposes by test engines.

    • getLabel

      public String getLabel()
      Gets the value(s) for label (). creating it if it does not exist. This method may return null.

      Definition: The label would be used for tracking/logging purposes by test engines.

    • setLabel

      public TestScript.SetupActionAssert setLabel(ca.uhn.fhir.model.primitive.StringDt theValue)
      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

      public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
      Gets the value(s) for description (). creating it if it does not exist. Will not return null.

      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 return null.

      Definition: The description would be used by test engines for tracking and reporting purposes.

    • setDescription

      public TestScript.SetupActionAssert 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.

    • getDirectionElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionDirectionTypeEnum> getDirectionElement()
      Gets the value(s) for direction (). creating it if it does not exist. Will not return null.

      Definition: The direction to use for the assertion.

    • getDirection

      public String getDirection()
      Gets the value(s) for direction (). creating it if it does not exist. This method may return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getCompareToSourceIdElement()
      Gets the value(s) for compareToSourceId (). creating it if it does not exist. Will not return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getCompareToSourcePathElement()
      Gets the value(s) for compareToSourcePath (). creating it if it does not exist. Will not return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> getContentTypeElement()
      Gets the value(s) for contentType (). creating it if it does not exist. Will not return null.

      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 return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getHeaderFieldElement()
      Gets the value(s) for headerField (). creating it if it does not exist. Will not return null.

      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 return null.

      Definition: The HTTP header field name e.g. 'Location'

    • setHeaderField

      public TestScript.SetupActionAssert setHeaderField(ca.uhn.fhir.model.primitive.StringDt theValue)
      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

      public ca.uhn.fhir.model.primitive.StringDt getMinimumIdElement()
      Gets the value(s) for minimumId (). creating it if it does not exist. Will not return null.

      Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.

    • getMinimumId

      public String getMinimumId()
      Gets the value(s) for minimumId (). creating it if it does not exist. This method may return null.

      Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.

    • setMinimumId

      public TestScript.SetupActionAssert setMinimumId(ca.uhn.fhir.model.primitive.StringDt theValue)
      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.

    • getNavigationLinksElement

      public ca.uhn.fhir.model.primitive.BooleanDt getNavigationLinksElement()
      Gets the value(s) for navigationLinks (). creating it if it does not exist. Will not return null.

      Definition: Whether or not the test execution performs validation on the bundle navigation links

    • getNavigationLinks

      Gets the value(s) for navigationLinks (). creating it if it does not exist. This method may return null.

      Definition: Whether or not the test execution performs validation on the bundle navigation links

    • setNavigationLinks

      public TestScript.SetupActionAssert setNavigationLinks(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for navigationLinks ()

      Definition: Whether or not the test execution performs validation on the bundle navigation links

    • setNavigationLinks

      public TestScript.SetupActionAssert setNavigationLinks(boolean theBoolean)
      Sets the value for navigationLinks ()

      Definition: Whether or not the test execution performs validation on the bundle navigation links

    • getOperatorElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionOperatorTypeEnum> getOperatorElement()
      Gets the value(s) for operator (). creating it if it does not exist. Will not return null.

      Definition: The operator type

    • getOperator

      public String getOperator()
      Gets the value(s) for operator (). creating it if it does not exist. This method may return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getPathElement()
      Gets the value(s) for path (). creating it if it does not exist. Will not return null.

      Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.

    • getPath

      public String getPath()
      Gets the value(s) for path (). creating it if it does not exist. This method may return null.

      Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.

    • setPath

      public TestScript.SetupActionAssert setPath(ca.uhn.fhir.model.primitive.StringDt theValue)
      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

      public ca.uhn.fhir.model.primitive.CodeDt getResourceElement()
      Gets the value(s) for resource (). creating it if it does not exist. Will not return null.

      Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.

    • getResource

      public String getResource()
      Gets the value(s) for resource (). creating it if it does not exist. This method may return null.

      Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.

    • setResource

      public TestScript.SetupActionAssert setResource(ca.uhn.fhir.model.primitive.CodeDt theValue)
      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

      public ca.uhn.fhir.model.primitive.BoundCodeDt<AssertionResponseTypesEnum> getResponseElement()
      Gets the value(s) for response (). creating it if it does not exist. Will not return null.

      Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable

    • getResponse

      public String getResponse()
      Gets the value(s) for response (). creating it if it does not exist. This method may return null.

      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

      public ca.uhn.fhir.model.primitive.StringDt getResponseCodeElement()
      Gets the value(s) for responseCode (). creating it if it does not exist. Will not return null.

      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 return null.

      Definition: The value of the HTTP response code to be tested

    • setResponseCode

      public TestScript.SetupActionAssert setResponseCode(ca.uhn.fhir.model.primitive.StringDt theValue)
      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

      public ca.uhn.fhir.model.primitive.IdDt getSourceIdElement()
      Gets the value(s) for sourceId (). creating it if it does not exist. Will not return null.

      Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.

    • getSourceId

      public String getSourceId()
      Gets the value(s) for sourceId (). creating it if it does not exist. This method may return null.

      Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.

    • setSourceId

      public TestScript.SetupActionAssert setSourceId(ca.uhn.fhir.model.primitive.IdDt theValue)
      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

      public ca.uhn.fhir.model.primitive.IdDt getValidateProfileIdElement()
      Gets the value(s) for validateProfileId (). creating it if it does not exist. Will not return null.

      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 return null.

      Definition: The ID of the Profile to validate against.

    • setValidateProfileId

      public TestScript.SetupActionAssert setValidateProfileId(ca.uhn.fhir.model.primitive.IdDt theValue)
      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

      public ca.uhn.fhir.model.primitive.StringDt getValueElement()
      Gets the value(s) for value (). creating it if it does not exist. Will not return null.

      Definition: The value to compare to

    • getValue

      public String getValue()
      Gets the value(s) for value (). creating it if it does not exist. This method may return null.

      Definition: The value to compare to

    • setValue

      public TestScript.SetupActionAssert setValue(ca.uhn.fhir.model.primitive.StringDt theValue)
      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

      public ca.uhn.fhir.model.primitive.BooleanDt getWarningOnlyElement()
      Gets the value(s) for warningOnly (). creating it if it does not exist. Will not return null.

      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 return null.

      Definition: Whether or not the test execution will produce a warning only on error for this assert

    • setWarningOnly

      public TestScript.SetupActionAssert setWarningOnly(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for warningOnly ()

      Definition: Whether or not the test execution will produce a warning only on error for this assert

    • setWarningOnly

      public TestScript.SetupActionAssert setWarningOnly(boolean theBoolean)
      Sets the value for warningOnly ()

      Definition: Whether or not the test execution will produce a warning only on error for this assert