Package org.hl7.fhir
Class TestScriptAssert
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.TestScriptAssert
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TestScriptAssert extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification.Java class for TestScript.Assert complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TestScript.Assert"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="direction" type="{http://hl7.org/fhir}AssertionDirectionType" minOccurs="0"/> <element name="compareToSourceId" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="compareToSourcePath" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="contentType" type="{http://hl7.org/fhir}ContentType" minOccurs="0"/> <element name="headerField" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="minimumId" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="navigationLinks" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="operator" type="{http://hl7.org/fhir}AssertionOperatorType" minOccurs="0"/> <element name="path" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="resource" type="{http://hl7.org/fhir}code" minOccurs="0"/> <element name="response" type="{http://hl7.org/fhir}AssertionResponseTypes" minOccurs="0"/> <element name="responseCode" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="rule" type="{http://hl7.org/fhir}TestScript.Rule2" minOccurs="0"/> <element name="ruleset" type="{http://hl7.org/fhir}TestScript.Ruleset1" minOccurs="0"/> <element name="sourceId" type="{http://hl7.org/fhir}id" minOccurs="0"/> <element name="validateProfileId" type="{http://hl7.org/fhir}id" minOccurs="0"/> <element name="value" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="warningOnly" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcompareToSourceIdprotected StringcompareToSourcePathprotected ContentTypecontentTypeprotected Stringdescriptionprotected AssertionDirectionTypedirectionprotected StringheaderFieldprotected Stringlabelprotected StringminimumIdprotected BooleannavigationLinksprotected AssertionOperatorTypeoperatorprotected Stringpathprotected Coderesourceprotected AssertionResponseTypesresponseprotected StringresponseCodeprotected TestScriptRule2ruleprotected TestScriptRuleset1rulesetprotected IdsourceIdprotected IdvalidateProfileIdprotected Stringvalueprotected BooleanwarningOnly-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TestScriptAssert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)StringgetCompareToSourceId()Gets the value of the compareToSourceId property.StringgetCompareToSourcePath()Gets the value of the compareToSourcePath property.ContentTypegetContentType()Gets the value of the contentType property.StringgetDescription()Gets the value of the description property.AssertionDirectionTypegetDirection()Gets the value of the direction property.StringgetHeaderField()Gets the value of the headerField property.StringgetLabel()Gets the value of the label property.StringgetMinimumId()Gets the value of the minimumId property.BooleangetNavigationLinks()Gets the value of the navigationLinks property.AssertionOperatorTypegetOperator()Gets the value of the operator property.StringgetPath()Gets the value of the path property.CodegetResource()Gets the value of the resource property.AssertionResponseTypesgetResponse()Gets the value of the response property.StringgetResponseCode()Gets the value of the responseCode property.TestScriptRule2getRule()Gets the value of the rule property.TestScriptRuleset1getRuleset()Gets the value of the ruleset property.IdgetSourceId()Gets the value of the sourceId property.IdgetValidateProfileId()Gets the value of the validateProfileId property.StringgetValue()Gets the value of the value property.BooleangetWarningOnly()Gets the value of the warningOnly property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCompareToSourceId(String value)Sets the value of the compareToSourceId property.voidsetCompareToSourcePath(String value)Sets the value of the compareToSourcePath property.voidsetContentType(ContentType value)Sets the value of the contentType property.voidsetDescription(String value)Sets the value of the description property.voidsetDirection(AssertionDirectionType value)Sets the value of the direction property.voidsetHeaderField(String value)Sets the value of the headerField property.voidsetLabel(String value)Sets the value of the label property.voidsetMinimumId(String value)Sets the value of the minimumId property.voidsetNavigationLinks(Boolean value)Sets the value of the navigationLinks property.voidsetOperator(AssertionOperatorType value)Sets the value of the operator property.voidsetPath(String value)Sets the value of the path property.voidsetResource(Code value)Sets the value of the resource property.voidsetResponse(AssertionResponseTypes value)Sets the value of the response property.voidsetResponseCode(String value)Sets the value of the responseCode property.voidsetRule(TestScriptRule2 value)Sets the value of the rule property.voidsetRuleset(TestScriptRuleset1 value)Sets the value of the ruleset property.voidsetSourceId(Id value)Sets the value of the sourceId property.voidsetValidateProfileId(Id value)Sets the value of the validateProfileId property.voidsetValue(String value)Sets the value of the value property.voidsetWarningOnly(Boolean value)Sets the value of the warningOnly property.java.lang.StringtoString()TestScriptAssertwithCompareToSourceId(String value)TestScriptAssertwithCompareToSourcePath(String value)TestScriptAssertwithContentType(ContentType value)TestScriptAssertwithDescription(String value)TestScriptAssertwithDirection(AssertionDirectionType value)TestScriptAssertwithExtension(java.util.Collection<Extension> values)TestScriptAssertwithExtension(Extension... values)TestScriptAssertwithHeaderField(String value)TestScriptAssertwithId(java.lang.String value)TestScriptAssertwithLabel(String value)TestScriptAssertwithMinimumId(String value)TestScriptAssertwithModifierExtension(java.util.Collection<Extension> values)TestScriptAssertwithModifierExtension(Extension... values)TestScriptAssertwithNavigationLinks(Boolean value)TestScriptAssertwithOperator(AssertionOperatorType value)TestScriptAssertwithPath(String value)TestScriptAssertwithResource(Code value)TestScriptAssertwithResponse(AssertionResponseTypes value)TestScriptAssertwithResponseCode(String value)TestScriptAssertwithRule(TestScriptRule2 value)TestScriptAssertwithRuleset(TestScriptRuleset1 value)TestScriptAssertwithSourceId(Id value)TestScriptAssertwithValidateProfileId(Id value)TestScriptAssertwithValue(String value)TestScriptAssertwithWarningOnly(Boolean value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
label
protected String label
-
description
protected String description
-
direction
protected AssertionDirectionType direction
-
compareToSourceId
protected String compareToSourceId
-
compareToSourcePath
protected String compareToSourcePath
-
contentType
protected ContentType contentType
-
headerField
protected String headerField
-
minimumId
protected String minimumId
-
navigationLinks
protected Boolean navigationLinks
-
operator
protected AssertionOperatorType operator
-
path
protected String path
-
resource
protected Code resource
-
response
protected AssertionResponseTypes response
-
responseCode
protected String responseCode
-
rule
protected TestScriptRule2 rule
-
ruleset
protected TestScriptRuleset1 ruleset
-
sourceId
protected Id sourceId
-
validateProfileId
protected Id validateProfileId
-
value
protected String value
-
warningOnly
protected Boolean warningOnly
-
-
Method Detail
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getDirection
public AssertionDirectionType getDirection()
Gets the value of the direction property.- Returns:
- possible object is
AssertionDirectionType
-
setDirection
public void setDirection(AssertionDirectionType value)
Sets the value of the direction property.- Parameters:
value- allowed object isAssertionDirectionType
-
getCompareToSourceId
public String getCompareToSourceId()
Gets the value of the compareToSourceId property.- Returns:
- possible object is
String
-
setCompareToSourceId
public void setCompareToSourceId(String value)
Sets the value of the compareToSourceId property.- Parameters:
value- allowed object isString
-
getCompareToSourcePath
public String getCompareToSourcePath()
Gets the value of the compareToSourcePath property.- Returns:
- possible object is
String
-
setCompareToSourcePath
public void setCompareToSourcePath(String value)
Sets the value of the compareToSourcePath property.- Parameters:
value- allowed object isString
-
getContentType
public ContentType getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
ContentType
-
setContentType
public void setContentType(ContentType value)
Sets the value of the contentType property.- Parameters:
value- allowed object isContentType
-
getHeaderField
public String getHeaderField()
Gets the value of the headerField property.- Returns:
- possible object is
String
-
setHeaderField
public void setHeaderField(String value)
Sets the value of the headerField property.- Parameters:
value- allowed object isString
-
getMinimumId
public String getMinimumId()
Gets the value of the minimumId property.- Returns:
- possible object is
String
-
setMinimumId
public void setMinimumId(String value)
Sets the value of the minimumId property.- Parameters:
value- allowed object isString
-
getNavigationLinks
public Boolean getNavigationLinks()
Gets the value of the navigationLinks property.- Returns:
- possible object is
Boolean
-
setNavigationLinks
public void setNavigationLinks(Boolean value)
Sets the value of the navigationLinks property.- Parameters:
value- allowed object isBoolean
-
getOperator
public AssertionOperatorType getOperator()
Gets the value of the operator property.- Returns:
- possible object is
AssertionOperatorType
-
setOperator
public void setOperator(AssertionOperatorType value)
Sets the value of the operator property.- Parameters:
value- allowed object isAssertionOperatorType
-
getPath
public String getPath()
Gets the value of the path property.- Returns:
- possible object is
String
-
setPath
public void setPath(String value)
Sets the value of the path property.- Parameters:
value- allowed object isString
-
getResource
public Code getResource()
Gets the value of the resource property.- Returns:
- possible object is
Code
-
setResource
public void setResource(Code value)
Sets the value of the resource property.- Parameters:
value- allowed object isCode
-
getResponse
public AssertionResponseTypes getResponse()
Gets the value of the response property.- Returns:
- possible object is
AssertionResponseTypes
-
setResponse
public void setResponse(AssertionResponseTypes value)
Sets the value of the response property.- Parameters:
value- allowed object isAssertionResponseTypes
-
getResponseCode
public String getResponseCode()
Gets the value of the responseCode property.- Returns:
- possible object is
String
-
setResponseCode
public void setResponseCode(String value)
Sets the value of the responseCode property.- Parameters:
value- allowed object isString
-
getRule
public TestScriptRule2 getRule()
Gets the value of the rule property.- Returns:
- possible object is
TestScriptRule2
-
setRule
public void setRule(TestScriptRule2 value)
Sets the value of the rule property.- Parameters:
value- allowed object isTestScriptRule2
-
getRuleset
public TestScriptRuleset1 getRuleset()
Gets the value of the ruleset property.- Returns:
- possible object is
TestScriptRuleset1
-
setRuleset
public void setRuleset(TestScriptRuleset1 value)
Sets the value of the ruleset property.- Parameters:
value- allowed object isTestScriptRuleset1
-
getSourceId
public Id getSourceId()
Gets the value of the sourceId property.- Returns:
- possible object is
Id
-
setSourceId
public void setSourceId(Id value)
Sets the value of the sourceId property.- Parameters:
value- allowed object isId
-
getValidateProfileId
public Id getValidateProfileId()
Gets the value of the validateProfileId property.- Returns:
- possible object is
Id
-
setValidateProfileId
public void setValidateProfileId(Id value)
Sets the value of the validateProfileId property.- Parameters:
value- allowed object isId
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getWarningOnly
public Boolean getWarningOnly()
Gets the value of the warningOnly property.- Returns:
- possible object is
Boolean
-
setWarningOnly
public void setWarningOnly(Boolean value)
Sets the value of the warningOnly property.- Parameters:
value- allowed object isBoolean
-
withLabel
public TestScriptAssert withLabel(String value)
-
withDescription
public TestScriptAssert withDescription(String value)
-
withDirection
public TestScriptAssert withDirection(AssertionDirectionType value)
-
withCompareToSourceId
public TestScriptAssert withCompareToSourceId(String value)
-
withCompareToSourcePath
public TestScriptAssert withCompareToSourcePath(String value)
-
withContentType
public TestScriptAssert withContentType(ContentType value)
-
withHeaderField
public TestScriptAssert withHeaderField(String value)
-
withMinimumId
public TestScriptAssert withMinimumId(String value)
-
withNavigationLinks
public TestScriptAssert withNavigationLinks(Boolean value)
-
withOperator
public TestScriptAssert withOperator(AssertionOperatorType value)
-
withPath
public TestScriptAssert withPath(String value)
-
withResource
public TestScriptAssert withResource(Code value)
-
withResponse
public TestScriptAssert withResponse(AssertionResponseTypes value)
-
withResponseCode
public TestScriptAssert withResponseCode(String value)
-
withRule
public TestScriptAssert withRule(TestScriptRule2 value)
-
withRuleset
public TestScriptAssert withRuleset(TestScriptRuleset1 value)
-
withSourceId
public TestScriptAssert withSourceId(Id value)
-
withValidateProfileId
public TestScriptAssert withValidateProfileId(Id value)
-
withValue
public TestScriptAssert withValue(String value)
-
withWarningOnly
public TestScriptAssert withWarningOnly(Boolean value)
-
withModifierExtension
public TestScriptAssert withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public TestScriptAssert withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public TestScriptAssert withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public TestScriptAssert withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public TestScriptAssert withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-