public static class TestScript.SetupActionAssertComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
compareToSourceExpression
The FHIRPath expression to evaluate against the source fixture.
|
protected StringType |
compareToSourceId
Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.
|
protected StringType |
compareToSourcePath
XPath or JSONPath expression to evaluate against the source fixture.
|
protected CodeType |
contentType
The mime-type contents to compare against the request or response message 'Content-Type' header.
|
protected StringType |
description
The description would be used by test engines for tracking and reporting purposes.
|
protected Enumeration<TestScript.AssertionDirectionType> |
direction
The direction to use for the assertion.
|
protected StringType |
expression
The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.
|
protected StringType |
headerField
The HTTP header field name e.g.
|
protected StringType |
label
The label would be used for tracking/logging purposes by test engines.
|
protected StringType |
minimumId
The ID of a fixture.
|
protected BooleanType |
navigationLinks
Whether or not the test execution performs validation on the bundle navigation links.
|
protected Enumeration<TestScript.AssertionOperatorType> |
operator
The operator type defines the conditional behavior of the assert.
|
protected StringType |
path
The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
|
protected Enumeration<TestScript.TestScriptRequestMethodCode> |
requestMethod
The request method or HTTP operation code to compare against that used by the client system under test.
|
protected StringType |
requestURL
The value to use in a comparison against the request URL path string.
|
protected CodeType |
resource
The type of the resource.
|
protected Enumeration<TestScript.AssertionResponseTypes> |
response
okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
|
protected StringType |
responseCode
The value of the HTTP response code to be tested.
|
protected IdType |
sourceId
Fixture to evaluate the XPath/JSONPath expression or the headerField against.
|
protected IdType |
validateProfileId
The ID of the Profile to validate against.
|
protected StringType |
value
The value to compare to.
|
protected BooleanType |
warningOnly
Whether or not the test execution will produce a warning only on error for this assert.
|
modifierExtension| Constructor and Description |
|---|
SetupActionAssertComponent()
Constructor
|
SetupActionAssertComponent(BooleanType warningOnly)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected StringType label
protected StringType description
protected Enumeration<TestScript.AssertionDirectionType> direction
protected StringType compareToSourceId
protected StringType compareToSourceExpression
protected StringType compareToSourcePath
protected CodeType contentType
protected StringType expression
protected StringType headerField
protected StringType minimumId
protected BooleanType navigationLinks
protected Enumeration<TestScript.AssertionOperatorType> operator
protected StringType path
protected Enumeration<TestScript.TestScriptRequestMethodCode> requestMethod
protected StringType requestURL
protected CodeType resource
protected Enumeration<TestScript.AssertionResponseTypes> response
protected StringType responseCode
protected IdType sourceId
protected IdType validateProfileId
protected StringType value
protected BooleanType warningOnly
public SetupActionAssertComponent()
public SetupActionAssertComponent(BooleanType warningOnly)
public StringType getLabelElement()
label (The label would be used for tracking/logging purposes by test engines.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the valuepublic boolean hasLabelElement()
public boolean hasLabel()
public TestScript.SetupActionAssertComponent setLabelElement(StringType value)
value - label (The label would be used for tracking/logging purposes by test engines.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the valuepublic String getLabel()
public TestScript.SetupActionAssertComponent setLabel(String value)
value - The label would be used for tracking/logging purposes by test engines.public StringType getDescriptionElement()
description (The description would be used by test engines for tracking and reporting purposes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public TestScript.SetupActionAssertComponent setDescriptionElement(StringType value)
value - description (The description would be used by test engines for tracking and reporting purposes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public TestScript.SetupActionAssertComponent setDescription(String value)
value - The description would be used by test engines for tracking and reporting purposes.public Enumeration<TestScript.AssertionDirectionType> getDirectionElement()
direction (The direction to use for the assertion.). This is the underlying object with id, value and extensions. The accessor "getDirection" gives direct access to the valuepublic boolean hasDirectionElement()
public boolean hasDirection()
public TestScript.SetupActionAssertComponent setDirectionElement(Enumeration<TestScript.AssertionDirectionType> value)
value - direction (The direction to use for the assertion.). This is the underlying object with id, value and extensions. The accessor "getDirection" gives direct access to the valuepublic TestScript.AssertionDirectionType getDirection()
public TestScript.SetupActionAssertComponent setDirection(TestScript.AssertionDirectionType value)
value - The direction to use for the assertion.public StringType getCompareToSourceIdElement()
compareToSourceId (Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceId" gives direct access to the valuepublic boolean hasCompareToSourceIdElement()
public boolean hasCompareToSourceId()
public TestScript.SetupActionAssertComponent setCompareToSourceIdElement(StringType value)
value - compareToSourceId (Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceId" gives direct access to the valuepublic String getCompareToSourceId()
public TestScript.SetupActionAssertComponent setCompareToSourceId(String value)
value - Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.public StringType getCompareToSourceExpressionElement()
compareToSourceExpression (The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceExpression" gives direct access to the valuepublic boolean hasCompareToSourceExpressionElement()
public boolean hasCompareToSourceExpression()
public TestScript.SetupActionAssertComponent setCompareToSourceExpressionElement(StringType value)
value - compareToSourceExpression (The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceExpression" gives direct access to the valuepublic String getCompareToSourceExpression()
public TestScript.SetupActionAssertComponent setCompareToSourceExpression(String value)
value - The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.public StringType getCompareToSourcePathElement()
compareToSourcePath (XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourcePath" gives direct access to the valuepublic boolean hasCompareToSourcePathElement()
public boolean hasCompareToSourcePath()
public TestScript.SetupActionAssertComponent setCompareToSourcePathElement(StringType value)
value - compareToSourcePath (XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourcePath" gives direct access to the valuepublic String getCompareToSourcePath()
public TestScript.SetupActionAssertComponent setCompareToSourcePath(String value)
value - XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.public CodeType getContentTypeElement()
contentType (The mime-type contents to compare against the request or response message 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the valuepublic boolean hasContentTypeElement()
public boolean hasContentType()
public TestScript.SetupActionAssertComponent setContentTypeElement(CodeType value)
value - contentType (The mime-type contents to compare against the request or response message 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the valuepublic String getContentType()
public TestScript.SetupActionAssertComponent setContentType(String value)
value - The mime-type contents to compare against the request or response message 'Content-Type' header.public StringType getExpressionElement()
expression (The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the valuepublic boolean hasExpressionElement()
public boolean hasExpression()
public TestScript.SetupActionAssertComponent setExpressionElement(StringType value)
value - expression (The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.). This is the underlying object with id, value and extensions. The accessor "getExpression" gives direct access to the valuepublic String getExpression()
public TestScript.SetupActionAssertComponent setExpression(String value)
value - The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.public StringType getHeaderFieldElement()
headerField (The HTTP header field name e.g. 'Location'.). This is the underlying object with id, value and extensions. The accessor "getHeaderField" gives direct access to the valuepublic boolean hasHeaderFieldElement()
public boolean hasHeaderField()
public TestScript.SetupActionAssertComponent setHeaderFieldElement(StringType value)
value - headerField (The HTTP header field name e.g. 'Location'.). This is the underlying object with id, value and extensions. The accessor "getHeaderField" gives direct access to the valuepublic String getHeaderField()
public TestScript.SetupActionAssertComponent setHeaderField(String value)
value - The HTTP header field name e.g. 'Location'.public StringType getMinimumIdElement()
minimumId (The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.). This is the underlying object with id, value and extensions. The accessor "getMinimumId" gives direct access to the valuepublic boolean hasMinimumIdElement()
public boolean hasMinimumId()
public TestScript.SetupActionAssertComponent setMinimumIdElement(StringType value)
value - minimumId (The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.). This is the underlying object with id, value and extensions. The accessor "getMinimumId" gives direct access to the valuepublic String getMinimumId()
public TestScript.SetupActionAssertComponent setMinimumId(String value)
value - The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.public BooleanType getNavigationLinksElement()
navigationLinks (Whether or not the test execution performs validation on the bundle navigation links.). This is the underlying object with id, value and extensions. The accessor "getNavigationLinks" gives direct access to the valuepublic boolean hasNavigationLinksElement()
public boolean hasNavigationLinks()
public TestScript.SetupActionAssertComponent setNavigationLinksElement(BooleanType value)
value - navigationLinks (Whether or not the test execution performs validation on the bundle navigation links.). This is the underlying object with id, value and extensions. The accessor "getNavigationLinks" gives direct access to the valuepublic boolean getNavigationLinks()
public TestScript.SetupActionAssertComponent setNavigationLinks(boolean value)
value - Whether or not the test execution performs validation on the bundle navigation links.public Enumeration<TestScript.AssertionOperatorType> getOperatorElement()
operator (The operator type defines the conditional behavior of the assert. If not defined, the default is equals.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the valuepublic boolean hasOperatorElement()
public boolean hasOperator()
public TestScript.SetupActionAssertComponent setOperatorElement(Enumeration<TestScript.AssertionOperatorType> value)
value - operator (The operator type defines the conditional behavior of the assert. If not defined, the default is equals.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the valuepublic TestScript.AssertionOperatorType getOperator()
public TestScript.SetupActionAssertComponent setOperator(TestScript.AssertionOperatorType value)
value - The operator type defines the conditional behavior of the assert. If not defined, the default is equals.public StringType getPathElement()
path (The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the valuepublic boolean hasPathElement()
public boolean hasPath()
public TestScript.SetupActionAssertComponent setPathElement(StringType value)
value - path (The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the valuepublic String getPath()
public TestScript.SetupActionAssertComponent setPath(String value)
value - The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.public Enumeration<TestScript.TestScriptRequestMethodCode> getRequestMethodElement()
requestMethod (The request method or HTTP operation code to compare against that used by the client system under test.). This is the underlying object with id, value and extensions. The accessor "getRequestMethod" gives direct access to the valuepublic boolean hasRequestMethodElement()
public boolean hasRequestMethod()
public TestScript.SetupActionAssertComponent setRequestMethodElement(Enumeration<TestScript.TestScriptRequestMethodCode> value)
value - requestMethod (The request method or HTTP operation code to compare against that used by the client system under test.). This is the underlying object with id, value and extensions. The accessor "getRequestMethod" gives direct access to the valuepublic TestScript.TestScriptRequestMethodCode getRequestMethod()
public TestScript.SetupActionAssertComponent setRequestMethod(TestScript.TestScriptRequestMethodCode value)
value - The request method or HTTP operation code to compare against that used by the client system under test.public StringType getRequestURLElement()
requestURL (The value to use in a comparison against the request URL path string.). This is the underlying object with id, value and extensions. The accessor "getRequestURL" gives direct access to the valuepublic boolean hasRequestURLElement()
public boolean hasRequestURL()
public TestScript.SetupActionAssertComponent setRequestURLElement(StringType value)
value - requestURL (The value to use in a comparison against the request URL path string.). This is the underlying object with id, value and extensions. The accessor "getRequestURL" gives direct access to the valuepublic String getRequestURL()
public TestScript.SetupActionAssertComponent setRequestURL(String value)
value - The value to use in a comparison against the request URL path string.public CodeType getResourceElement()
resource (The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the valuepublic boolean hasResourceElement()
public boolean hasResource()
public TestScript.SetupActionAssertComponent setResourceElement(CodeType value)
value - resource (The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the valuepublic String getResource()
public TestScript.SetupActionAssertComponent setResource(String value)
value - The type of the resource. See http://build.fhir.org/resourcelist.html.public Enumeration<TestScript.AssertionResponseTypes> getResponseElement()
response (okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.). This is the underlying object with id, value and extensions. The accessor "getResponse" gives direct access to the valuepublic boolean hasResponseElement()
public boolean hasResponse()
public TestScript.SetupActionAssertComponent setResponseElement(Enumeration<TestScript.AssertionResponseTypes> value)
value - response (okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.). This is the underlying object with id, value and extensions. The accessor "getResponse" gives direct access to the valuepublic TestScript.AssertionResponseTypes getResponse()
public TestScript.SetupActionAssertComponent setResponse(TestScript.AssertionResponseTypes value)
value - okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.public StringType getResponseCodeElement()
responseCode (The value of the HTTP response code to be tested.). This is the underlying object with id, value and extensions. The accessor "getResponseCode" gives direct access to the valuepublic boolean hasResponseCodeElement()
public boolean hasResponseCode()
public TestScript.SetupActionAssertComponent setResponseCodeElement(StringType value)
value - responseCode (The value of the HTTP response code to be tested.). This is the underlying object with id, value and extensions. The accessor "getResponseCode" gives direct access to the valuepublic String getResponseCode()
public TestScript.SetupActionAssertComponent setResponseCode(String value)
value - The value of the HTTP response code to be tested.public IdType getSourceIdElement()
sourceId (Fixture to evaluate the XPath/JSONPath expression or the headerField against.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the valuepublic boolean hasSourceIdElement()
public boolean hasSourceId()
public TestScript.SetupActionAssertComponent setSourceIdElement(IdType value)
value - sourceId (Fixture to evaluate the XPath/JSONPath expression or the headerField against.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the valuepublic String getSourceId()
public TestScript.SetupActionAssertComponent setSourceId(String value)
value - Fixture to evaluate the XPath/JSONPath expression or the headerField against.public IdType getValidateProfileIdElement()
validateProfileId (The ID of the Profile to validate against.). This is the underlying object with id, value and extensions. The accessor "getValidateProfileId" gives direct access to the valuepublic boolean hasValidateProfileIdElement()
public boolean hasValidateProfileId()
public TestScript.SetupActionAssertComponent setValidateProfileIdElement(IdType value)
value - validateProfileId (The ID of the Profile to validate against.). This is the underlying object with id, value and extensions. The accessor "getValidateProfileId" gives direct access to the valuepublic String getValidateProfileId()
public TestScript.SetupActionAssertComponent setValidateProfileId(String value)
value - The ID of the Profile to validate against.public StringType getValueElement()
value (The value to compare to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the valuepublic boolean hasValueElement()
public boolean hasValue()
public TestScript.SetupActionAssertComponent setValueElement(StringType value)
value - value (The value to compare to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the valuepublic TestScript.SetupActionAssertComponent setValue(String value)
value - The value to compare to.public BooleanType getWarningOnlyElement()
warningOnly (Whether or not the test execution will produce a warning only on error for this assert.). This is the underlying object with id, value and extensions. The accessor "getWarningOnly" gives direct access to the valuepublic boolean hasWarningOnlyElement()
public boolean hasWarningOnly()
public TestScript.SetupActionAssertComponent setWarningOnlyElement(BooleanType value)
value - warningOnly (Whether or not the test execution will produce a warning only on error for this assert.). This is the underlying object with id, value and extensions. The accessor "getWarningOnly" gives direct access to the valuepublic boolean getWarningOnly()
public TestScript.SetupActionAssertComponent setWarningOnly(boolean value)
value - Whether or not the test execution will produce a warning only on error for this assert.protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic TestScript.SetupActionAssertComponent copy()
copy in class BackboneElementpublic void copyValues(TestScript.SetupActionAssertComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.