Class TestScript.TestAction

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.TestScript.TestAction
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.TestAction extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.test.action ()

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

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

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

      Definition: An operation would involve a REST request to a server.

    • setOperation

      Sets the value(s) for operation ()

      Definition: An operation would involve a REST request to a server.

    • getAssert

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

      Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.

    • setAssert

      Sets the value(s) for assert ()

      Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.