Package org.hl7.fhir

Class 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 Details

  • Constructor Details

    • TestScriptAssert

      public TestScriptAssert()
  • Method Details

    • 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 is String
    • 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 is String
    • 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 is AssertionDirectionType
    • 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 is String
    • 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 is String
    • 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 is ContentType
    • 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 is String
    • 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 is String
    • 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 is Boolean
    • 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 is AssertionOperatorType
    • 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 is String
    • 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 is Code
    • 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 is AssertionResponseTypes
    • 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 is String
    • 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 is TestScriptRule2
    • 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 is TestScriptRuleset1
    • 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 is Id
    • 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 is Id
    • 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 is String
    • 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 is Boolean
    • 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:
      withModifierExtension in class BackboneElement
    • withModifierExtension

      public TestScriptAssert withModifierExtension(Collection<Extension> values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withExtension

      public TestScriptAssert withExtension(Extension... values)
      Overrides:
      withExtension in class BackboneElement
    • withExtension

      public TestScriptAssert withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class BackboneElement
    • withId

      public TestScriptAssert withId(String value)
      Overrides:
      withId in class BackboneElement
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class BackboneElement
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class BackboneElement
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class BackboneElement
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BackboneElement
    • toString

      public String toString()
      Overrides:
      toString in class BackboneElement
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BackboneElement
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BackboneElement