public static class TestScript.SetupActionAssert extends BaseIdentifiableElement implements IResourceBlock
Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.
| Constructor and Description |
|---|
SetupActionAssert() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
String |
getCompareToSourceId()
Gets the value(s) for compareToSourceId ().
|
StringDt |
getCompareToSourceIdElement()
Gets the value(s) for compareToSourceId ().
|
String |
getCompareToSourcePath()
Gets the value(s) for compareToSourcePath ().
|
StringDt |
getCompareToSourcePathElement()
Gets the value(s) for compareToSourcePath ().
|
String |
getContentType()
Gets the value(s) for contentType ().
|
BoundCodeDt<ContentTypeEnum> |
getContentTypeElement()
Gets the value(s) for contentType ().
|
String |
getDescription()
Gets the value(s) for description ().
|
StringDt |
getDescriptionElement()
Gets the value(s) for description ().
|
String |
getDirection()
Gets the value(s) for direction ().
|
BoundCodeDt<AssertionDirectionTypeEnum> |
getDirectionElement()
Gets the value(s) for direction ().
|
String |
getHeaderField()
Gets the value(s) for headerField ().
|
StringDt |
getHeaderFieldElement()
Gets the value(s) for headerField ().
|
String |
getLabel()
Gets the value(s) for label ().
|
StringDt |
getLabelElement()
Gets the value(s) for label ().
|
String |
getMinimumId()
Gets the value(s) for minimumId ().
|
StringDt |
getMinimumIdElement()
Gets the value(s) for minimumId ().
|
Boolean |
getNavigationLinks()
Gets the value(s) for navigationLinks ().
|
BooleanDt |
getNavigationLinksElement()
Gets the value(s) for navigationLinks ().
|
String |
getOperator()
Gets the value(s) for operator ().
|
BoundCodeDt<AssertionOperatorTypeEnum> |
getOperatorElement()
Gets the value(s) for operator ().
|
String |
getPath()
Gets the value(s) for path ().
|
StringDt |
getPathElement()
Gets the value(s) for path ().
|
String |
getResource()
Gets the value(s) for resource ().
|
CodeDt |
getResourceElement()
Gets the value(s) for resource ().
|
String |
getResponse()
Gets the value(s) for response ().
|
String |
getResponseCode()
Gets the value(s) for responseCode ().
|
StringDt |
getResponseCodeElement()
Gets the value(s) for responseCode ().
|
BoundCodeDt<AssertionResponseTypesEnum> |
getResponseElement()
Gets the value(s) for response ().
|
String |
getSourceId()
Gets the value(s) for sourceId ().
|
IdDt |
getSourceIdElement()
Gets the value(s) for sourceId ().
|
String |
getValidateProfileId()
Gets the value(s) for validateProfileId ().
|
IdDt |
getValidateProfileIdElement()
Gets the value(s) for validateProfileId ().
|
String |
getValue()
Gets the value(s) for value ().
|
StringDt |
getValueElement()
Gets the value(s) for value ().
|
Boolean |
getWarningOnly()
Gets the value(s) for warningOnly ().
|
BooleanDt |
getWarningOnlyElement()
Gets the value(s) for warningOnly ().
|
boolean |
isEmpty() |
TestScript.SetupActionAssert |
setCompareToSourceId(String theString)
Sets the value for compareToSourceId ()
|
TestScript.SetupActionAssert |
setCompareToSourceId(StringDt theValue)
Sets the value(s) for compareToSourceId ()
|
TestScript.SetupActionAssert |
setCompareToSourcePath(String theString)
Sets the value for compareToSourcePath ()
|
TestScript.SetupActionAssert |
setCompareToSourcePath(StringDt theValue)
Sets the value(s) for compareToSourcePath ()
|
TestScript.SetupActionAssert |
setContentType(BoundCodeDt<ContentTypeEnum> theValue)
Sets the value(s) for contentType ()
|
TestScript.SetupActionAssert |
setContentType(ContentTypeEnum theValue)
Sets the value(s) for contentType ()
|
TestScript.SetupActionAssert |
setDescription(String theString)
Sets the value for description ()
|
TestScript.SetupActionAssert |
setDescription(StringDt theValue)
Sets the value(s) for description ()
|
TestScript.SetupActionAssert |
setDirection(AssertionDirectionTypeEnum theValue)
Sets the value(s) for direction ()
|
TestScript.SetupActionAssert |
setDirection(BoundCodeDt<AssertionDirectionTypeEnum> theValue)
Sets the value(s) for direction ()
|
TestScript.SetupActionAssert |
setHeaderField(String theString)
Sets the value for headerField ()
|
TestScript.SetupActionAssert |
setHeaderField(StringDt theValue)
Sets the value(s) for headerField ()
|
TestScript.SetupActionAssert |
setLabel(String theString)
Sets the value for label ()
|
TestScript.SetupActionAssert |
setLabel(StringDt theValue)
Sets the value(s) for label ()
|
TestScript.SetupActionAssert |
setMinimumId(String theString)
Sets the value for minimumId ()
|
TestScript.SetupActionAssert |
setMinimumId(StringDt theValue)
Sets the value(s) for minimumId ()
|
TestScript.SetupActionAssert |
setNavigationLinks(boolean theBoolean)
Sets the value for navigationLinks ()
|
TestScript.SetupActionAssert |
setNavigationLinks(BooleanDt theValue)
Sets the value(s) for navigationLinks ()
|
TestScript.SetupActionAssert |
setOperator(AssertionOperatorTypeEnum theValue)
Sets the value(s) for operator ()
|
TestScript.SetupActionAssert |
setOperator(BoundCodeDt<AssertionOperatorTypeEnum> theValue)
Sets the value(s) for operator ()
|
TestScript.SetupActionAssert |
setPath(String theString)
Sets the value for path ()
|
TestScript.SetupActionAssert |
setPath(StringDt theValue)
Sets the value(s) for path ()
|
TestScript.SetupActionAssert |
setResource(CodeDt theValue)
Sets the value(s) for resource ()
|
TestScript.SetupActionAssert |
setResource(String theCode)
Sets the value for resource ()
|
TestScript.SetupActionAssert |
setResponse(AssertionResponseTypesEnum theValue)
Sets the value(s) for response ()
|
TestScript.SetupActionAssert |
setResponse(BoundCodeDt<AssertionResponseTypesEnum> theValue)
Sets the value(s) for response ()
|
TestScript.SetupActionAssert |
setResponseCode(String theString)
Sets the value for responseCode ()
|
TestScript.SetupActionAssert |
setResponseCode(StringDt theValue)
Sets the value(s) for responseCode ()
|
TestScript.SetupActionAssert |
setSourceId(IdDt theValue)
Sets the value(s) for sourceId ()
|
TestScript.SetupActionAssert |
setSourceId(String theId)
Sets the value for sourceId ()
|
TestScript.SetupActionAssert |
setValidateProfileId(IdDt theValue)
Sets the value(s) for validateProfileId ()
|
TestScript.SetupActionAssert |
setValidateProfileId(String theId)
Sets the value for validateProfileId ()
|
TestScript.SetupActionAssert |
setValue(String theString)
Sets the value for value ()
|
TestScript.SetupActionAssert |
setValue(StringDt theValue)
Sets the value(s) for value ()
|
TestScript.SetupActionAssert |
setWarningOnly(boolean theBoolean)
Sets the value for warningOnly ()
|
TestScript.SetupActionAssert |
setWarningOnly(BooleanDt theValue)
Sets the value(s) for warningOnly ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic SetupActionAssert()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic StringDt getLabelElement()
null.
Definition: The label would be used for tracking/logging purposes by test engines.
public String getLabel()
null.
Definition: The label would be used for tracking/logging purposes by test engines.
public TestScript.SetupActionAssert setLabel(StringDt theValue)
Definition: The label would be used for tracking/logging purposes by test engines.
public TestScript.SetupActionAssert setLabel(String theString)
Definition: The label would be used for tracking/logging purposes by test engines.
public StringDt getDescriptionElement()
null.
Definition: The description would be used by test engines for tracking and reporting purposes.
public String getDescription()
null.
Definition: The description would be used by test engines for tracking and reporting purposes.
public TestScript.SetupActionAssert setDescription(StringDt theValue)
Definition: The description would be used by test engines for tracking and reporting purposes.
public TestScript.SetupActionAssert setDescription(String theString)
Definition: The description would be used by test engines for tracking and reporting purposes.
public BoundCodeDt<AssertionDirectionTypeEnum> getDirectionElement()
null.
Definition: The direction to use for the assertion.
public String getDirection()
null.
Definition: The direction to use for the assertion.
public TestScript.SetupActionAssert setDirection(BoundCodeDt<AssertionDirectionTypeEnum> theValue)
Definition: The direction to use for the assertion.
public TestScript.SetupActionAssert setDirection(AssertionDirectionTypeEnum theValue)
Definition: The direction to use for the assertion.
public StringDt getCompareToSourceIdElement()
null.
Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
public String getCompareToSourceId()
null.
Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
public TestScript.SetupActionAssert setCompareToSourceId(StringDt theValue)
Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
public TestScript.SetupActionAssert setCompareToSourceId(String theString)
Definition: Id of fixture used to compare the \"sourceId/path\" evaluations to.
public StringDt getCompareToSourcePathElement()
null.
Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
public String getCompareToSourcePath()
null.
Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
public TestScript.SetupActionAssert setCompareToSourcePath(StringDt theValue)
Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
public TestScript.SetupActionAssert setCompareToSourcePath(String theString)
Definition: XPath or JSONPath expression against fixture used to compare the \"sourceId/path\" evaluations to.
public BoundCodeDt<ContentTypeEnum> getContentTypeElement()
null.
Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
public String getContentType()
null.
Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
public TestScript.SetupActionAssert setContentType(BoundCodeDt<ContentTypeEnum> theValue)
Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
public TestScript.SetupActionAssert setContentType(ContentTypeEnum theValue)
Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
public StringDt getHeaderFieldElement()
null.
Definition: The HTTP header field name e.g. 'Location'
public String getHeaderField()
null.
Definition: The HTTP header field name e.g. 'Location'
public TestScript.SetupActionAssert setHeaderField(StringDt theValue)
Definition: The HTTP header field name e.g. 'Location'
public TestScript.SetupActionAssert setHeaderField(String theString)
Definition: The HTTP header field name e.g. 'Location'
public StringDt getMinimumIdElement()
null.
Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
public String getMinimumId()
null.
Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
public TestScript.SetupActionAssert setMinimumId(StringDt theValue)
Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
public TestScript.SetupActionAssert setMinimumId(String theString)
Definition: The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
public BooleanDt getNavigationLinksElement()
null.
Definition: Whether or not the test execution performs validation on the bundle navigation links
public Boolean getNavigationLinks()
null.
Definition: Whether or not the test execution performs validation on the bundle navigation links
public TestScript.SetupActionAssert setNavigationLinks(BooleanDt theValue)
Definition: Whether or not the test execution performs validation on the bundle navigation links
public TestScript.SetupActionAssert setNavigationLinks(boolean theBoolean)
Definition: Whether or not the test execution performs validation on the bundle navigation links
public BoundCodeDt<AssertionOperatorTypeEnum> getOperatorElement()
null.
Definition: The operator type
public String getOperator()
null.
Definition: The operator type
public TestScript.SetupActionAssert setOperator(BoundCodeDt<AssertionOperatorTypeEnum> theValue)
Definition: The operator type
public TestScript.SetupActionAssert setOperator(AssertionOperatorTypeEnum theValue)
Definition: The operator type
public StringDt getPathElement()
null.
Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
public String getPath()
null.
Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
public TestScript.SetupActionAssert setPath(StringDt theValue)
Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
public TestScript.SetupActionAssert setPath(String theString)
Definition: The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
public CodeDt getResourceElement()
null.
Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
public String getResource()
null.
Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
public TestScript.SetupActionAssert setResource(CodeDt theValue)
Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
public TestScript.SetupActionAssert setResource(String theCode)
Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
public BoundCodeDt<AssertionResponseTypesEnum> getResponseElement()
null.
Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
public String getResponse()
null.
Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
public TestScript.SetupActionAssert setResponse(BoundCodeDt<AssertionResponseTypesEnum> theValue)
Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
public TestScript.SetupActionAssert setResponse(AssertionResponseTypesEnum theValue)
Definition: okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable
public StringDt getResponseCodeElement()
null.
Definition: The value of the HTTP response code to be tested
public String getResponseCode()
null.
Definition: The value of the HTTP response code to be tested
public TestScript.SetupActionAssert setResponseCode(StringDt theValue)
Definition: The value of the HTTP response code to be tested
public TestScript.SetupActionAssert setResponseCode(String theString)
Definition: The value of the HTTP response code to be tested
public IdDt getSourceIdElement()
null.
Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
public String getSourceId()
null.
Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
public TestScript.SetupActionAssert setSourceId(IdDt theValue)
Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
public TestScript.SetupActionAssert setSourceId(String theId)
Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against.
public IdDt getValidateProfileIdElement()
null.
Definition: The ID of the Profile to validate against.
public String getValidateProfileId()
null.
Definition: The ID of the Profile to validate against.
public TestScript.SetupActionAssert setValidateProfileId(IdDt theValue)
Definition: The ID of the Profile to validate against.
public TestScript.SetupActionAssert setValidateProfileId(String theId)
Definition: The ID of the Profile to validate against.
public StringDt getValueElement()
null.
Definition: The value to compare to
public String getValue()
null.
Definition: The value to compare to
public TestScript.SetupActionAssert setValue(StringDt theValue)
Definition: The value to compare to
public TestScript.SetupActionAssert setValue(String theString)
Definition: The value to compare to
public BooleanDt getWarningOnlyElement()
null.
Definition: Whether or not the test execution will produce a warning only on error for this assert
public Boolean getWarningOnly()
null.
Definition: Whether or not the test execution will produce a warning only on error for this assert
public TestScript.SetupActionAssert setWarningOnly(BooleanDt theValue)
Definition: Whether or not the test execution will produce a warning only on error for this assert
public TestScript.SetupActionAssert setWarningOnly(boolean theBoolean)
Definition: Whether or not the test execution will produce a warning only on error for this assert
Copyright © 2014–2016 University Health Network. All rights reserved.