Class TestScript.Test
- 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: A test in this script.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for action ()addAction
(TestScript.TestAction theValue) Adds a given new value for action ()Gets the value(s) for action ().Gets the first repetition for action (), creating it if it does not already exist.<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().Gets the value(s) for metadata ().getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().boolean
isEmpty()
setAction
(List<TestScript.TestAction> theValue) Sets the value(s) for action ()setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setMetadata
(TestScript.Metadata theValue) Sets the value(s) for metadata ()setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()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
-
Test
public Test()
-
-
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
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: The name of this test used for tracking/logging purposes by test engines.
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: The name of this test used for tracking/logging purposes by test engines.
-
setName
Sets the value(s) for name ()Definition: The name of this test used for tracking/logging purposes by test engines.
-
setName
Sets the value for name ()Definition: The name of this test used for tracking/logging purposes by test engines.
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition: A short description of the test used by test engines for tracking and reporting purposes.
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition: A short description of the test used by test engines for tracking and reporting purposes.
-
setDescription
Sets the value(s) for description ()Definition: A short description of the test used by test engines for tracking and reporting purposes.
-
setDescription
Sets the value for description ()Definition: A short description of the test used by test engines for tracking and reporting purposes.
-
getMetadata
Gets the value(s) for metadata (). creating it if it does not exist. Will not returnnull
.Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
setMetadata
Sets the value(s) for metadata ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
getAction
Gets the value(s) for action (). creating it if it does not exist. Will not returnnull
.Definition: Action would contain either an operation or an assertion.
-
setAction
Sets the value(s) for action ()Definition: Action would contain either an operation or an assertion.
-
addAction
Adds and returns a new value for action ()Definition: Action would contain either an operation or an assertion.
-
addAction
Adds a given new value for action ()Definition: Action would contain either an operation or an assertion.
- Parameters:
theValue
- The action to add (must not benull
)
-
getActionFirstRep
Gets the first repetition for action (), creating it if it does not already exist.Definition: Action would contain either an operation or an assertion.
-