Class TestScript.Fixture

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

    Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.

    See Also:
    Serialized Form
    • Constructor Detail

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

        public ca.uhn.fhir.model.primitive.BooleanDt getAutocreateElement()
        Gets the value(s) for autocreate (). creating it if it does not exist. Will not return null.

        Definition: Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.

      • getAutocreate

        public Boolean getAutocreate()
        Gets the value(s) for autocreate (). creating it if it does not exist. This method may return null.

        Definition: Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.

      • setAutocreate

        public TestScript.Fixture setAutocreate​(ca.uhn.fhir.model.primitive.BooleanDt theValue)
        Sets the value(s) for autocreate ()

        Definition: Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.

      • setAutocreate

        public TestScript.Fixture setAutocreate​(boolean theBoolean)
        Sets the value for autocreate ()

        Definition: Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section.

      • getAutodeleteElement

        public ca.uhn.fhir.model.primitive.BooleanDt getAutodeleteElement()
        Gets the value(s) for autodelete (). creating it if it does not exist. Will not return null.

        Definition: Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.

      • getAutodelete

        public Boolean getAutodelete()
        Gets the value(s) for autodelete (). creating it if it does not exist. This method may return null.

        Definition: Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.

      • setAutodelete

        public TestScript.Fixture setAutodelete​(ca.uhn.fhir.model.primitive.BooleanDt theValue)
        Sets the value(s) for autodelete ()

        Definition: Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.

      • setAutodelete

        public TestScript.Fixture setAutodelete​(boolean theBoolean)
        Sets the value for autodelete ()

        Definition: Whether or not to implicitly delete the fixture during teardown If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section.

      • getResource

        public ResourceReferenceDt getResource()
        Gets the value(s) for resource (). creating it if it does not exist. Will not return null.

        Definition: Reference to the resource (containing the contents of the resource needed for operations)