Package org.hl7.fhir.r4.model
Class TestScript.SetupActionAssertComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.TestScript.SetupActionAssertComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseBackboneElement
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- TestScript
public static class TestScript.SetupActionAssertComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SetupActionAssertComponent()
ConstructorSetupActionAssertComponent(BooleanType warningOnly)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, 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, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
label
protected StringType label
The label would be used for tracking/logging purposes by test engines.
-
description
protected StringType description
The description would be used by test engines for tracking and reporting purposes.
-
direction
protected Enumeration<TestScript.AssertionDirectionType> direction
The direction to use for the assertion.
-
compareToSourceId
protected StringType compareToSourceId
Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.
-
compareToSourceExpression
protected StringType compareToSourceExpression
The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.
-
compareToSourcePath
protected StringType 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.
-
contentType
protected CodeType contentType
The mime-type contents to compare against the request or response message 'Content-Type' header.
-
expression
protected StringType expression
The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.
-
headerField
protected StringType headerField
The HTTP header field name e.g. 'Location'.
-
minimumId
protected StringType minimumId
The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.
-
navigationLinks
protected BooleanType navigationLinks
Whether or not the test execution performs validation on the bundle navigation links.
-
operator
protected Enumeration<TestScript.AssertionOperatorType> operator
The operator type defines the conditional behavior of the assert. If not defined, the default is equals.
-
path
protected StringType path
The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
requestMethod
protected Enumeration<TestScript.TestScriptRequestMethodCode> requestMethod
The request method or HTTP operation code to compare against that used by the client system under test.
-
requestURL
protected StringType requestURL
The value to use in a comparison against the request URL path string.
-
resource
protected CodeType resource
The type of the resource. See http://build.fhir.org/resourcelist.html.
-
response
protected Enumeration<TestScript.AssertionResponseTypes> response
okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
-
responseCode
protected StringType responseCode
The value of the HTTP response code to be tested.
-
sourceId
protected IdType sourceId
Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
validateProfileId
protected IdType validateProfileId
The ID of the Profile to validate against.
-
value
protected StringType value
The value to compare to.
-
warningOnly
protected BooleanType warningOnly
Whether or not the test execution will produce a warning only on error for this assert.
-
-
Constructor Detail
-
SetupActionAssertComponent
public SetupActionAssertComponent()
Constructor
-
SetupActionAssertComponent
public SetupActionAssertComponent(BooleanType warningOnly)
Constructor
-
-
Method Detail
-
getLabelElement
public StringType getLabelElement()
- Returns:
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 value
-
hasLabelElement
public boolean hasLabelElement()
-
hasLabel
public boolean hasLabel()
-
setLabelElement
public TestScript.SetupActionAssertComponent setLabelElement(StringType value)
- Parameters:
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 value
-
getLabel
public String getLabel()
- Returns:
- The label would be used for tracking/logging purposes by test engines.
-
setLabel
public TestScript.SetupActionAssertComponent setLabel(String value)
- Parameters:
value
- The label would be used for tracking/logging purposes by test engines.
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
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 value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public TestScript.SetupActionAssertComponent setDescriptionElement(StringType value)
- Parameters:
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 value
-
getDescription
public String getDescription()
- Returns:
- The description would be used by test engines for tracking and reporting purposes.
-
setDescription
public TestScript.SetupActionAssertComponent setDescription(String value)
- Parameters:
value
- The description would be used by test engines for tracking and reporting purposes.
-
getDirectionElement
public Enumeration<TestScript.AssertionDirectionType> getDirectionElement()
- Returns:
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 value
-
hasDirectionElement
public boolean hasDirectionElement()
-
hasDirection
public boolean hasDirection()
-
setDirectionElement
public TestScript.SetupActionAssertComponent setDirectionElement(Enumeration<TestScript.AssertionDirectionType> value)
- Parameters:
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 value
-
getDirection
public TestScript.AssertionDirectionType getDirection()
- Returns:
- The direction to use for the assertion.
-
setDirection
public TestScript.SetupActionAssertComponent setDirection(TestScript.AssertionDirectionType value)
- Parameters:
value
- The direction to use for the assertion.
-
getCompareToSourceIdElement
public StringType getCompareToSourceIdElement()
- Returns:
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 value
-
hasCompareToSourceIdElement
public boolean hasCompareToSourceIdElement()
-
hasCompareToSourceId
public boolean hasCompareToSourceId()
-
setCompareToSourceIdElement
public TestScript.SetupActionAssertComponent setCompareToSourceIdElement(StringType value)
- Parameters:
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 value
-
getCompareToSourceId
public String getCompareToSourceId()
- Returns:
- Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.
-
setCompareToSourceId
public TestScript.SetupActionAssertComponent setCompareToSourceId(String value)
- Parameters:
value
- Id of the source fixture used as the contents to be evaluated by either the "source/expression" or "sourceId/path" definition.
-
getCompareToSourceExpressionElement
public StringType getCompareToSourceExpressionElement()
- Returns:
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 value
-
hasCompareToSourceExpressionElement
public boolean hasCompareToSourceExpressionElement()
-
hasCompareToSourceExpression
public boolean hasCompareToSourceExpression()
-
setCompareToSourceExpressionElement
public TestScript.SetupActionAssertComponent setCompareToSourceExpressionElement(StringType value)
- Parameters:
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 value
-
getCompareToSourceExpression
public String getCompareToSourceExpression()
- Returns:
- The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.
-
setCompareToSourceExpression
public TestScript.SetupActionAssertComponent setCompareToSourceExpression(String value)
- Parameters:
value
- The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.
-
getCompareToSourcePathElement
public StringType getCompareToSourcePathElement()
- Returns:
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 value
-
hasCompareToSourcePathElement
public boolean hasCompareToSourcePathElement()
-
hasCompareToSourcePath
public boolean hasCompareToSourcePath()
-
setCompareToSourcePathElement
public TestScript.SetupActionAssertComponent setCompareToSourcePathElement(StringType value)
- Parameters:
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 value
-
getCompareToSourcePath
public String getCompareToSourcePath()
- Returns:
- XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both.
-
setCompareToSourcePath
public TestScript.SetupActionAssertComponent setCompareToSourcePath(String value)
- Parameters:
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.
-
getContentTypeElement
public CodeType getContentTypeElement()
- Returns:
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 value
-
hasContentTypeElement
public boolean hasContentTypeElement()
-
hasContentType
public boolean hasContentType()
-
setContentTypeElement
public TestScript.SetupActionAssertComponent setContentTypeElement(CodeType value)
- Parameters:
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 value
-
getContentType
public String getContentType()
- Returns:
- The mime-type contents to compare against the request or response message 'Content-Type' header.
-
setContentType
public TestScript.SetupActionAssertComponent setContentType(String value)
- Parameters:
value
- The mime-type contents to compare against the request or response message 'Content-Type' header.
-
getExpressionElement
public StringType getExpressionElement()
- Returns:
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 value
-
hasExpressionElement
public boolean hasExpressionElement()
-
hasExpression
public boolean hasExpression()
-
setExpressionElement
public TestScript.SetupActionAssertComponent setExpressionElement(StringType value)
- Parameters:
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 value
-
getExpression
public String getExpression()
- Returns:
- The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.
-
setExpression
public TestScript.SetupActionAssertComponent setExpression(String value)
- Parameters:
value
- The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload.
-
getHeaderFieldElement
public StringType getHeaderFieldElement()
- Returns:
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 value
-
hasHeaderFieldElement
public boolean hasHeaderFieldElement()
-
hasHeaderField
public boolean hasHeaderField()
-
setHeaderFieldElement
public TestScript.SetupActionAssertComponent setHeaderFieldElement(StringType value)
- Parameters:
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 value
-
getHeaderField
public String getHeaderField()
- Returns:
- The HTTP header field name e.g. 'Location'.
-
setHeaderField
public TestScript.SetupActionAssertComponent setHeaderField(String value)
- Parameters:
value
- The HTTP header field name e.g. 'Location'.
-
getMinimumIdElement
public StringType getMinimumIdElement()
- Returns:
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 value
-
hasMinimumIdElement
public boolean hasMinimumIdElement()
-
hasMinimumId
public boolean hasMinimumId()
-
setMinimumIdElement
public TestScript.SetupActionAssertComponent setMinimumIdElement(StringType value)
- Parameters:
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 value
-
getMinimumId
public String getMinimumId()
- Returns:
- The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.
-
setMinimumId
public TestScript.SetupActionAssertComponent setMinimumId(String value)
- Parameters:
value
- The ID of a fixture. Asserts that the response contains at a minimum the fixture specified by minimumId.
-
getNavigationLinksElement
public BooleanType getNavigationLinksElement()
- Returns:
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 value
-
hasNavigationLinksElement
public boolean hasNavigationLinksElement()
-
hasNavigationLinks
public boolean hasNavigationLinks()
-
setNavigationLinksElement
public TestScript.SetupActionAssertComponent setNavigationLinksElement(BooleanType value)
- Parameters:
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 value
-
getNavigationLinks
public boolean getNavigationLinks()
- Returns:
- Whether or not the test execution performs validation on the bundle navigation links.
-
setNavigationLinks
public TestScript.SetupActionAssertComponent setNavigationLinks(boolean value)
- Parameters:
value
- Whether or not the test execution performs validation on the bundle navigation links.
-
getOperatorElement
public Enumeration<TestScript.AssertionOperatorType> getOperatorElement()
- Returns:
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 value
-
hasOperatorElement
public boolean hasOperatorElement()
-
hasOperator
public boolean hasOperator()
-
setOperatorElement
public TestScript.SetupActionAssertComponent setOperatorElement(Enumeration<TestScript.AssertionOperatorType> value)
- Parameters:
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 value
-
getOperator
public TestScript.AssertionOperatorType getOperator()
- Returns:
- The operator type defines the conditional behavior of the assert. If not defined, the default is equals.
-
setOperator
public TestScript.SetupActionAssertComponent setOperator(TestScript.AssertionOperatorType value)
- Parameters:
value
- The operator type defines the conditional behavior of the assert. If not defined, the default is equals.
-
getPathElement
public StringType getPathElement()
- Returns:
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 value
-
hasPathElement
public boolean hasPathElement()
-
hasPath
public boolean hasPath()
-
setPathElement
public TestScript.SetupActionAssertComponent setPathElement(StringType value)
- Parameters:
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 value
-
getPath
public String getPath()
- Returns:
- The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
setPath
public TestScript.SetupActionAssertComponent setPath(String value)
- Parameters:
value
- The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
getRequestMethodElement
public Enumeration<TestScript.TestScriptRequestMethodCode> getRequestMethodElement()
- Returns:
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 value
-
hasRequestMethodElement
public boolean hasRequestMethodElement()
-
hasRequestMethod
public boolean hasRequestMethod()
-
setRequestMethodElement
public TestScript.SetupActionAssertComponent setRequestMethodElement(Enumeration<TestScript.TestScriptRequestMethodCode> value)
- Parameters:
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 value
-
getRequestMethod
public TestScript.TestScriptRequestMethodCode getRequestMethod()
- Returns:
- The request method or HTTP operation code to compare against that used by the client system under test.
-
setRequestMethod
public TestScript.SetupActionAssertComponent setRequestMethod(TestScript.TestScriptRequestMethodCode value)
- Parameters:
value
- The request method or HTTP operation code to compare against that used by the client system under test.
-
getRequestURLElement
public StringType getRequestURLElement()
- Returns:
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 value
-
hasRequestURLElement
public boolean hasRequestURLElement()
-
hasRequestURL
public boolean hasRequestURL()
-
setRequestURLElement
public TestScript.SetupActionAssertComponent setRequestURLElement(StringType value)
- Parameters:
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 value
-
getRequestURL
public String getRequestURL()
- Returns:
- The value to use in a comparison against the request URL path string.
-
setRequestURL
public TestScript.SetupActionAssertComponent setRequestURL(String value)
- Parameters:
value
- The value to use in a comparison against the request URL path string.
-
getResourceElement
public CodeType getResourceElement()
- Returns:
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 value
-
hasResourceElement
public boolean hasResourceElement()
-
hasResource
public boolean hasResource()
-
setResourceElement
public TestScript.SetupActionAssertComponent setResourceElement(CodeType value)
- Parameters:
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 value
-
getResource
public String getResource()
- Returns:
- The type of the resource. See http://build.fhir.org/resourcelist.html.
-
setResource
public TestScript.SetupActionAssertComponent setResource(String value)
- Parameters:
value
- The type of the resource. See http://build.fhir.org/resourcelist.html.
-
getResponseElement
public Enumeration<TestScript.AssertionResponseTypes> getResponseElement()
- Returns:
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 value
-
hasResponseElement
public boolean hasResponseElement()
-
hasResponse
public boolean hasResponse()
-
setResponseElement
public TestScript.SetupActionAssertComponent setResponseElement(Enumeration<TestScript.AssertionResponseTypes> value)
- Parameters:
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 value
-
getResponse
public TestScript.AssertionResponseTypes getResponse()
- Returns:
- okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
-
setResponse
public TestScript.SetupActionAssertComponent setResponse(TestScript.AssertionResponseTypes value)
- Parameters:
value
- okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
-
getResponseCodeElement
public StringType getResponseCodeElement()
- Returns:
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 value
-
hasResponseCodeElement
public boolean hasResponseCodeElement()
-
hasResponseCode
public boolean hasResponseCode()
-
setResponseCodeElement
public TestScript.SetupActionAssertComponent setResponseCodeElement(StringType value)
- Parameters:
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 value
-
getResponseCode
public String getResponseCode()
- Returns:
- The value of the HTTP response code to be tested.
-
setResponseCode
public TestScript.SetupActionAssertComponent setResponseCode(String value)
- Parameters:
value
- The value of the HTTP response code to be tested.
-
getSourceIdElement
public IdType getSourceIdElement()
- Returns:
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 value
-
hasSourceIdElement
public boolean hasSourceIdElement()
-
hasSourceId
public boolean hasSourceId()
-
setSourceIdElement
public TestScript.SetupActionAssertComponent setSourceIdElement(IdType value)
- Parameters:
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 value
-
getSourceId
public String getSourceId()
- Returns:
- Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
setSourceId
public TestScript.SetupActionAssertComponent setSourceId(String value)
- Parameters:
value
- Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
getValidateProfileIdElement
public IdType getValidateProfileIdElement()
- Returns:
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 value
-
hasValidateProfileIdElement
public boolean hasValidateProfileIdElement()
-
hasValidateProfileId
public boolean hasValidateProfileId()
-
setValidateProfileIdElement
public TestScript.SetupActionAssertComponent setValidateProfileIdElement(IdType value)
- Parameters:
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 value
-
getValidateProfileId
public String getValidateProfileId()
- Returns:
- The ID of the Profile to validate against.
-
setValidateProfileId
public TestScript.SetupActionAssertComponent setValidateProfileId(String value)
- Parameters:
value
- The ID of the Profile to validate against.
-
getValueElement
public StringType getValueElement()
- Returns:
value
(The value to compare to.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
public boolean hasValueElement()
-
hasValue
public boolean hasValue()
-
setValueElement
public TestScript.SetupActionAssertComponent setValueElement(StringType value)
- Parameters:
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 value
-
setValue
public TestScript.SetupActionAssertComponent setValue(String value)
- Parameters:
value
- The value to compare to.
-
getWarningOnlyElement
public BooleanType getWarningOnlyElement()
- Returns:
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 value
-
hasWarningOnlyElement
public boolean hasWarningOnlyElement()
-
hasWarningOnly
public boolean hasWarningOnly()
-
setWarningOnlyElement
public TestScript.SetupActionAssertComponent setWarningOnlyElement(BooleanType value)
- Parameters:
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 value
-
getWarningOnly
public boolean getWarningOnly()
- Returns:
- Whether or not the test execution will produce a warning only on error for this assert.
-
setWarningOnly
public TestScript.SetupActionAssertComponent setWarningOnly(boolean value)
- Parameters:
value
- Whether or not the test execution will produce a warning only on error for this assert.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public TestScript.SetupActionAssertComponent copy()
- Specified by:
copy
in classBackboneElement
-
copyValues
public void copyValues(TestScript.SetupActionAssertComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-