
Package org.hl7.fhir.dstu2.model
Class TestScript.TestScriptSetupActionAssertComponent
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.BackboneElement
org.hl7.fhir.dstu2.model.TestScript.TestScriptSetupActionAssertComponent
- 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.TestScriptSetupActionAssertComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringTypeId of fixture used to compare the "sourceId/path" evaluations to.protected StringTypeXPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to.protected Enumeration<TestScript.ContentType> The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.protected StringTypeThe description would be used by test engines for tracking and reporting purposes.protected Enumeration<TestScript.AssertionDirectionType> The direction to use for the assertion.protected StringTypeThe HTTP header field name e.g.protected StringTypeThe label would be used for tracking/logging purposes by test engines.protected StringTypeThe ID of a fixture.protected BooleanTypeWhether or not the test execution performs validation on the bundle navigation links.protected Enumeration<TestScript.AssertionOperatorType> The operator type.protected StringTypeThe XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.protected CodeTypeThe type of the resource.protected Enumeration<TestScript.AssertionResponseTypes> okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.protected StringTypeThe value of the HTTP response code to be tested.protected IdTypeFixture to evaluate the XPath/JSONPath expression or the headerField against.protected IdTypeThe ID of the Profile to validate against.protected StringTypeThe value to compare to.protected BooleanTypeWhether or not the test execution will produce a warning only on error for this assert.Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getLabel()booleangetPath()getValue()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasLabel()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasPath()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasValue()booleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setCompareToSourceId(String value) setCompareToSourcePath(String value) setDescription(String value) setDescriptionElement(StringType value) setHeaderField(String value) setHeaderFieldElement(StringType value) setLabelElement(StringType value) setMinimumId(String value) setMinimumIdElement(StringType value) setNavigationLinks(boolean value) setPathElement(StringType value) voidsetProperty(String name, Base value) setResource(String value) setResourceElement(CodeType value) setResponseCode(String value) setResponseCodeElement(StringType value) setSourceId(String value) setSourceIdElement(IdType value) setValidateProfileId(String value) setValueElement(StringType value) setWarningOnly(boolean value) setWarningOnlyElement(BooleanType value) Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionMethods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtensionMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
label
The label would be used for tracking/logging purposes by test engines. -
description
The description would be used by test engines for tracking and reporting purposes. -
direction
The direction to use for the assertion. -
compareToSourceId
Id of fixture used to compare the "sourceId/path" evaluations to. -
compareToSourcePath
XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to. -
contentType
The content-type or mime-type to use for RESTful operation in the 'Content-Type' header. -
headerField
The HTTP header field name e.g. 'Location'. -
minimumId
The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId. -
operator
The operator type. -
path
The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server. -
resource
The type of the resource. See http://hl7-fhir.github.io/resourcelist.html. -
response
okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable. -
responseCode
The value of the HTTP response code to be tested. -
sourceId
Fixture to evaluate the XPath/JSONPath expression or the headerField against. -
validateProfileId
The ID of the Profile to validate against. -
value
The value to compare to. -
warningOnly
Whether or not the test execution will produce a warning only on error for this assert.
-
-
Constructor Details
-
TestScriptSetupActionAssertComponent
public TestScriptSetupActionAssertComponent()
-
-
Method Details
-
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
-
hasLabel
-
setLabelElement
- 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
- Returns:
- The label would be used for tracking/logging purposes by test engines.
-
setLabel
- Parameters:
value- The label would be used for tracking/logging purposes by test engines.
-
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
-
hasDescription
-
setDescriptionElement
- 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
- Returns:
- The description would be used by test engines for tracking and reporting purposes.
-
setDescription
- Parameters:
value- The description would be used by test engines for tracking and reporting purposes.
-
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
-
hasDirection
-
setDirectionElement
public TestScript.TestScriptSetupActionAssertComponent 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
- Returns:
- The direction to use for the assertion.
-
setDirection
public TestScript.TestScriptSetupActionAssertComponent setDirection(TestScript.AssertionDirectionType value) - Parameters:
value- The direction to use for the assertion.
-
getCompareToSourceIdElement
- Returns:
compareToSourceId(Id of fixture used to compare the "sourceId/path" evaluations to.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceId" gives direct access to the value
-
hasCompareToSourceIdElement
-
hasCompareToSourceId
-
setCompareToSourceIdElement
public TestScript.TestScriptSetupActionAssertComponent setCompareToSourceIdElement(StringType value) - Parameters:
value-compareToSourceId(Id of fixture used to compare the "sourceId/path" evaluations to.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourceId" gives direct access to the value
-
getCompareToSourceId
- Returns:
- Id of fixture used to compare the "sourceId/path" evaluations to.
-
setCompareToSourceId
- Parameters:
value- Id of fixture used to compare the "sourceId/path" evaluations to.
-
getCompareToSourcePathElement
- Returns:
compareToSourcePath(XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourcePath" gives direct access to the value
-
hasCompareToSourcePathElement
-
hasCompareToSourcePath
-
setCompareToSourcePathElement
public TestScript.TestScriptSetupActionAssertComponent setCompareToSourcePathElement(StringType value) - Parameters:
value-compareToSourcePath(XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to.). This is the underlying object with id, value and extensions. The accessor "getCompareToSourcePath" gives direct access to the value
-
getCompareToSourcePath
- Returns:
- XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to.
-
setCompareToSourcePath
- Parameters:
value- XPath or JSONPath expression against fixture used to compare the "sourceId/path" evaluations to.
-
getContentTypeElement
- Returns:
contentType(The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
hasContentTypeElement
-
hasContentType
-
setContentTypeElement
public TestScript.TestScriptSetupActionAssertComponent setContentTypeElement(Enumeration<TestScript.ContentType> value) - Parameters:
value-contentType(The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
getContentType
- Returns:
- The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
- Parameters:
value- The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
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
-
hasHeaderField
-
setHeaderFieldElement
- 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
- Returns:
- The HTTP header field name e.g. 'Location'.
-
setHeaderField
- Parameters:
value- The HTTP header field name e.g. 'Location'.
-
getMinimumIdElement
- Returns:
minimumId(The ID of a fixture. Asserts that the response contains at a minimumId 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
-
hasMinimumId
-
setMinimumIdElement
- Parameters:
value-minimumId(The ID of a fixture. Asserts that the response contains at a minimumId 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
- Returns:
- The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
setMinimumId
- Parameters:
value- The ID of a fixture. Asserts that the response contains at a minimumId the fixture specified by minimumId.
-
getOperatorElement
- Returns:
operator(The operator type.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the value
-
hasOperatorElement
-
hasOperator
-
setOperatorElement
public TestScript.TestScriptSetupActionAssertComponent setOperatorElement(Enumeration<TestScript.AssertionOperatorType> value) - Parameters:
value-operator(The operator type.). This is the underlying object with id, value and extensions. The accessor "getOperator" gives direct access to the value
-
getOperator
- Returns:
- The operator type.
-
setOperator
public TestScript.TestScriptSetupActionAssertComponent setOperator(TestScript.AssertionOperatorType value) - Parameters:
value- The operator type.
-
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
-
hasPath
-
setPathElement
- 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
- Returns:
- The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
setPath
- Parameters:
value- The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server.
-
getResourceElement
- Returns:
resource(The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value
-
hasResourceElement
-
hasResource
-
setResourceElement
- Parameters:
value-resource(The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value
-
getResource
- Returns:
- The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
setResource
- Parameters:
value- The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
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
-
hasResponse
-
setResponseElement
public TestScript.TestScriptSetupActionAssertComponent 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
- Returns:
- okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
-
setResponse
public TestScript.TestScriptSetupActionAssertComponent setResponse(TestScript.AssertionResponseTypes value) - Parameters:
value- okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable.
-
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
-
hasResponseCode
-
setResponseCodeElement
- 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
- Returns:
- The value of the HTTP response code to be tested.
-
setResponseCode
- Parameters:
value- The value of the HTTP response code to be tested.
-
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
-
hasSourceId
-
setSourceIdElement
- 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
- Returns:
- Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
setSourceId
- Parameters:
value- Fixture to evaluate the XPath/JSONPath expression or the headerField against.
-
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
-
hasValidateProfileId
-
setValidateProfileIdElement
- 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
- Returns:
- The ID of the Profile to validate against.
-
setValidateProfileId
- Parameters:
value- The ID of the Profile to validate against.
-
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
-
hasValue
-
setValueElement
- 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
-
getValue
- Returns:
- The value to compare to.
-
setValue
- Parameters:
value- The value to compare to.
-
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
-
hasWarningOnly
-
setWarningOnlyElement
- 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
- Returns:
- Whether or not the test execution will produce a warning only on error for this assert.
-
setWarningOnly
- Parameters:
value- Whether or not the test execution will produce a warning only on error for this assert.
-
listChildren
- Overrides:
listChildrenin classBackboneElement
-
setProperty
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copyin classBackboneElement
-
equalsDeep
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-