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>
     
    • Constructor Detail

      • TestScriptOperation

        public TestScriptOperation()
    • Method Detail

      • 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 java.util.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 JAXB 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
      • 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:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class BackboneElement
      • equals

        public boolean equals​(java.lang.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
      • 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:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class BackboneElement
      • 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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class BackboneElement