Package org.hl7.fhir

Class TestScriptCapability

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

public class TestScriptCapability 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.Capability complex type.

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

 <complexType name="TestScript.Capability">
   <complexContent>
     <extension base="{http://hl7.org/fhir}BackboneElement">
       <sequence>
         <element name="required" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="validated" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="origin" type="{http://hl7.org/fhir}integer" maxOccurs="unbounded" minOccurs="0"/>
         <element name="destination" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
         <element name="link" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
         <element name="conformance" type="{http://hl7.org/fhir}Reference"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • required

      protected Boolean required
    • validated

      protected Boolean validated
    • description

      protected String description
    • origin

      protected List<Integer> origin
    • destination

      protected Integer destination
    • conformance

      protected Reference conformance
  • Constructor Details

    • TestScriptCapability

      public TestScriptCapability()
  • Method Details

    • getRequired

      public Boolean getRequired()
      Gets the value of the required property.
      Returns:
      possible object is Boolean
    • setRequired

      public void setRequired(Boolean value)
      Sets the value of the required property.
      Parameters:
      value - allowed object is Boolean
    • getValidated

      public Boolean getValidated()
      Gets the value of the validated property.
      Returns:
      possible object is Boolean
    • setValidated

      public void setValidated(Boolean value)
      Sets the value of the validated property.
      Parameters:
      value - allowed object is Boolean
    • 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
    • getOrigin

      public List<Integer> getOrigin()
      Gets the value of the origin 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 origin property.

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

          getOrigin().add(newItem);
       

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

    • 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
    • getLink

      public List<Uri> getLink()
      Gets the value of the link 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 link property.

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

          getLink().add(newItem);
       

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

    • getConformance

      public Reference getConformance()
      Gets the value of the conformance property.
      Returns:
      possible object is Reference
    • setConformance

      public void setConformance(Reference value)
      Sets the value of the conformance property.
      Parameters:
      value - allowed object is Reference
    • withRequired

      public TestScriptCapability withRequired(Boolean value)
    • withValidated

      public TestScriptCapability withValidated(Boolean value)
    • withDescription

      public TestScriptCapability withDescription(String value)
    • withOrigin

      public TestScriptCapability withOrigin(Integer... values)
    • withOrigin

      public TestScriptCapability withOrigin(Collection<Integer> values)
    • withDestination

      public TestScriptCapability withDestination(Integer value)
    • withLink

      public TestScriptCapability withLink(Uri... values)
    • withLink

      public TestScriptCapability withLink(Collection<Uri> values)
    • withConformance

      public TestScriptCapability withConformance(Reference value)
    • withModifierExtension

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

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

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

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

      public TestScriptCapability 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
    • setOrigin

      public void setOrigin(List<Integer> value)
    • setLink

      public void setLink(List<Uri> value)