Class TestScript.TestScriptFixtureComponent

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
    Enclosing class:
    TestScript

    public static class TestScript.TestScriptFixtureComponent
    extends BackboneElement
    implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
    See Also:
    Serialized Form
    • Field Detail

      • autocreate

        protected BooleanType autocreate
        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.
      • autodelete

        protected BooleanType autodelete
        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.
      • resource

        protected Reference resource
        Reference to the resource (containing the contents of the resource needed for operations).
      • resourceTarget

        protected Resource resourceTarget
        The actual object that is the target of the reference (Reference to the resource (containing the contents of the resource needed for operations).)
    • Method Detail

      • getAutocreateElement

        public BooleanType getAutocreateElement()
        Returns:
        autocreate (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.). This is the underlying object with id, value and extensions. The accessor "getAutocreate" gives direct access to the value
      • setAutocreateElement

        public TestScript.TestScriptFixtureComponent setAutocreateElement​(BooleanType value)
        Parameters:
        value - autocreate (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.). This is the underlying object with id, value and extensions. The accessor "getAutocreate" gives direct access to the value
      • getAutocreate

        public boolean getAutocreate()
        Returns:
        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.TestScriptFixtureComponent setAutocreate​(boolean value)
        Parameters:
        value - 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 BooleanType getAutodeleteElement()
        Returns:
        autodelete (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.). This is the underlying object with id, value and extensions. The accessor "getAutodelete" gives direct access to the value
      • setAutodeleteElement

        public TestScript.TestScriptFixtureComponent setAutodeleteElement​(BooleanType value)
        Parameters:
        value - autodelete (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.). This is the underlying object with id, value and extensions. The accessor "getAutodelete" gives direct access to the value
      • getAutodelete

        public boolean getAutodelete()
        Returns:
        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.TestScriptFixtureComponent setAutodelete​(boolean value)
        Parameters:
        value - 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 Reference getResource()
        Returns:
        resource (Reference to the resource (containing the contents of the resource needed for operations).)
      • getResourceTarget

        public Resource getResourceTarget()
        Returns:
        resource The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Reference to the resource (containing the contents of the resource needed for operations).)
      • setResourceTarget

        public TestScript.TestScriptFixtureComponent setResourceTarget​(Resource value)
        Parameters:
        value - resource The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Reference to the resource (containing the contents of the resource needed for operations).)
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.hl7.fhir.instance.model.api.IBase
        Overrides:
        isEmpty in class BackboneElement