Class TestScript.Test

  • 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.Test
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: TestScript.test ()

    Definition: A test in this script.

    See Also:
    Serialized Form
    • Constructor Detail

      • Test

        public Test()
    • Method Detail

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

        public ca.uhn.fhir.model.primitive.StringDt getNameElement()
        Gets the value(s) for name (). creating it if it does not exist. Will not return null.

        Definition: The name of this test used for tracking/logging purposes by test engines.

      • getName

        public String getName()
        Gets the value(s) for name (). creating it if it does not exist. This method may return null.

        Definition: The name of this test used for tracking/logging purposes by test engines.

      • setName

        public TestScript.Test setName​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for name ()

        Definition: The name of this test used for tracking/logging purposes by test engines.

      • setName

        public TestScript.Test setName​(String theString)
        Sets the value for name ()

        Definition: The name of this test used for tracking/logging purposes by test engines.

      • getDescriptionElement

        public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
        Gets the value(s) for description (). creating it if it does not exist. Will not return null.

        Definition: A short description of the test used by test engines for tracking and reporting purposes.

      • getDescription

        public String getDescription()
        Gets the value(s) for description (). creating it if it does not exist. This method may return null.

        Definition: A short description of the test used by test engines for tracking and reporting purposes.

      • setDescription

        public TestScript.Test setDescription​(ca.uhn.fhir.model.primitive.StringDt theValue)
        Sets the value(s) for description ()

        Definition: A short description of the test used by test engines for tracking and reporting purposes.

      • setDescription

        public TestScript.Test setDescription​(String theString)
        Sets the value for description ()

        Definition: A short description of the test used by test engines for tracking and reporting purposes.

      • getMetadata

        public TestScript.Metadata 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

        public TestScript.Test setMetadata​(TestScript.Metadata theValue)
        Sets the value(s) for metadata ()

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

      • getAction

        public List<TestScript.TestActiongetAction()
        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.

      • addAction

        public TestScript.TestAction addAction()
        Adds and returns a new value for action ()

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

      • addAction

        public TestScript.Test addAction​(TestScript.TestAction theValue)
        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

        public TestScript.TestAction 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.