Class TestScript.Setup

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.TestScript.Setup
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
TestScript

public static class TestScript.Setup extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.setup ()

Definition: A series of required setup operations before tests are executed.

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getMetadata

      Gets the value(s) for metadata (). creating it if it does not exist. Will not return null.

      Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.

    • setMetadata

      Sets the value(s) for metadata ()

      Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.

    • getAction

      Gets the value(s) for action (). creating it if it does not exist. Will not return null.

      Definition: Action would contain either an operation or an assertion.

    • setAction

      Sets the value(s) for action ()

      Definition: Action would contain either an operation or an assertion.

    • addAction

      Adds and returns a new value for action ()

      Definition: Action would contain either an operation or an assertion.

    • addAction

      Adds a given new value for action ()

      Definition: Action would contain either an operation or an assertion.

      Parameters:
      theValue - The action to add (must not be null)
    • getActionFirstRep

      Gets the first repetition for action (), creating it if it does not already exist.

      Definition: Action would contain either an operation or an assertion.