Package org.hl7.fhir

Class TestScriptOperation

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class TestScriptOperation 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.Operation complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="TestScript.Operation">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="type" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
         <element name="resource" type="{http://hl7.org/fhir}code" minOccurs="0"/>
         <element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="accept" type="{http://hl7.org/fhir}ContentType" minOccurs="0"/>
         <element name="contentType" type="{http://hl7.org/fhir}ContentType" minOccurs="0"/>
         <element name="destination" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
         <element name="encodeRequestUrl" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="origin" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
         <element name="params" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="requestHeader" type="{http://hl7.org/fhir}TestScript.RequestHeader" maxOccurs="unbounded" minOccurs="0"/>
         <element name="responseId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
         <element name="sourceId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
         <element name="targetId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
         <element name="url" type="{http://hl7.org/fhir}string" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • type

      protected Coding type
    • resource

      protected Code resource
    • label

      protected String label
    • description

      protected String description
    • accept

      protected ContentType accept
    • contentType

      protected ContentType contentType
    • destination

      protected Integer destination
    • encodeRequestUrl

      protected Boolean encodeRequestUrl
    • origin

      protected Integer origin
    • params

      protected String params
    • requestHeader

      protected List<TestScriptRequestHeader> requestHeader
    • responseId

      protected Id responseId
    • sourceId

      protected Id sourceId
    • targetId

      protected Id targetId
    • url

      protected String url
  • Constructor Details

    • TestScriptOperation

      public TestScriptOperation()
  • Method Details

    • getType

      public Coding getType()
      Gets the value of the type property.
      Returns:
      possible object is Coding
    • setType

      public void setType(Coding value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is Coding
    • 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
    • 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
    • getAccept

      public ContentType getAccept()
      Gets the value of the accept property.
      Returns:
      possible object is ContentType
    • setAccept

      public void setAccept(ContentType value)
      Sets the value of the accept property.
      Parameters:
      value - allowed object is ContentType
    • 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
    • getDestination

      public Integer getDestination()
      Gets the value of the destination property.
      Returns:
      possible object is Integer
    • setDestination

      public void setDestination(Integer value)
      Sets the value of the destination property.
      Parameters:
      value - allowed object is Integer
    • getEncodeRequestUrl

      public Boolean getEncodeRequestUrl()
      Gets the value of the encodeRequestUrl property.
      Returns:
      possible object is Boolean
    • setEncodeRequestUrl

      public void setEncodeRequestUrl(Boolean value)
      Sets the value of the encodeRequestUrl property.
      Parameters:
      value - allowed object is Boolean
    • getOrigin

      public Integer getOrigin()
      Gets the value of the origin property.
      Returns:
      possible object is Integer
    • setOrigin

      public void setOrigin(Integer value)
      Sets the value of the origin property.
      Parameters:
      value - allowed object is Integer
    • getParams

      public String getParams()
      Gets the value of the params property.
      Returns:
      possible object is String
    • setParams

      public void setParams(String value)
      Sets the value of the params property.
      Parameters:
      value - allowed object is String
    • getRequestHeader

      public List<TestScriptRequestHeader> getRequestHeader()
      Gets the value of the requestHeader property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the requestHeader property.

      For example, to add a new item, do as follows:

          getRequestHeader().add(newItem);
       

      Objects of the following type(s) are allowed in the list TestScriptRequestHeader

    • getResponseId

      public Id getResponseId()
      Gets the value of the responseId property.
      Returns:
      possible object is Id
    • setResponseId

      public void setResponseId(Id value)
      Sets the value of the responseId property.
      Parameters:
      value - allowed object is Id
    • 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
    • getTargetId

      public Id getTargetId()
      Gets the value of the targetId property.
      Returns:
      possible object is Id
    • setTargetId

      public void setTargetId(Id value)
      Sets the value of the targetId property.
      Parameters:
      value - allowed object is Id
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • withType

      public TestScriptOperation withType(Coding value)
    • withResource

      public TestScriptOperation withResource(Code value)
    • withLabel

      public TestScriptOperation withLabel(String value)
    • withDescription

      public TestScriptOperation withDescription(String value)
    • withAccept

      public TestScriptOperation withAccept(ContentType value)
    • withContentType

      public TestScriptOperation withContentType(ContentType value)
    • withDestination

      public TestScriptOperation withDestination(Integer value)
    • withEncodeRequestUrl

      public TestScriptOperation withEncodeRequestUrl(Boolean value)
    • withOrigin

      public TestScriptOperation withOrigin(Integer value)
    • withParams

      public TestScriptOperation withParams(String value)
    • withRequestHeader

      public TestScriptOperation withRequestHeader(TestScriptRequestHeader... values)
    • withRequestHeader

      public TestScriptOperation withRequestHeader(Collection<TestScriptRequestHeader> values)
    • withResponseId

      public TestScriptOperation withResponseId(Id value)
    • withSourceId

      public TestScriptOperation withSourceId(Id value)
    • withTargetId

      public TestScriptOperation withTargetId(Id value)
    • withUrl

      public TestScriptOperation withUrl(String value)
    • withModifierExtension

      public TestScriptOperation withModifierExtension(Extension... values)
      Overrides:
      withModifierExtension in class BackboneElement
    • withModifierExtension

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

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

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

      public TestScriptOperation 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
    • setRequestHeader

      public void setRequestHeader(List<TestScriptRequestHeader> value)