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
Definition: Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) 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
isEmpty()
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 ()setResource
(ResourceReferenceDt theValue) 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
-
Fixture
public Fixture()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.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 interfaceca.uhn.fhir.model.api.ICompositeElement
-
getAutocreateElement
Gets the value(s) for autocreate (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
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
Gets the value(s) for autodelete (). creating it if it does not exist. Will not returnnull
.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 returnnull
.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
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
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 returnnull
.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)
-