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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Fixture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)BooleangetAutocreate()Gets the value(s) for autocreate ().ca.uhn.fhir.model.primitive.BooleanDtgetAutocreateElement()Gets the value(s) for autocreate ().BooleangetAutodelete()Gets the value(s) for autodelete ().ca.uhn.fhir.model.primitive.BooleanDtgetAutodeleteElement()Gets the value(s) for autodelete ().ResourceReferenceDtgetResource()Gets the value(s) for resource ().booleanisEmpty()TestScript.FixturesetAutocreate(boolean theBoolean)Sets the value for autocreate ()TestScript.FixturesetAutocreate(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for autocreate ()TestScript.FixturesetAutodelete(boolean theBoolean)Sets the value for autodelete ()TestScript.FixturesetAutodelete(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for autodelete ()TestScript.FixturesetResource(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
-
-
-
-
Constructor Detail
-
Fixture
public Fixture()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.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 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
public Boolean 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
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 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
public Boolean 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
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 returnnull.Definition: Reference to the resource (containing the contents of the resource needed for operations)
-
setResource
public TestScript.Fixture setResource(ResourceReferenceDt theValue)
Sets the value(s) for resource ()Definition: Reference to the resource (containing the contents of the resource needed for operations)
-
-