Class TestScript.Fixture

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    Gets the value(s) for autocreate ().
    ca.uhn.fhir.model.primitive.BooleanDt
    Gets the value(s) for autocreate ().
    Gets the value(s) for autodelete ().
    ca.uhn.fhir.model.primitive.BooleanDt
    Gets the value(s) for autodelete ().
    Gets the value(s) for resource ().
    boolean
     
    setAutocreate(boolean theBoolean)
    Sets the value for autocreate ()
    setAutocreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)
    Sets the value(s) for autocreate ()
    setAutodelete(boolean theBoolean)
    Sets the value for autodelete ()
    setAutodelete(ca.uhn.fhir.model.primitive.BooleanDt theValue)
    Sets the value(s) for autodelete ()
    Sets the value(s) for resource ()

    Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId

    Methods inherited from class ca.uhn.fhir.model.api.BaseElement

    addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • 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
    • 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

      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

      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

      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)

    • setResource

      Sets the value(s) for resource ()

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