Package ca.uhn.fhir.model.dstu2.resource
Class TestScript.Setup
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.TestScript.Setup
-
- 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.Setup extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.setup ()Definition: A series of required setup operations before tests are executed.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Setup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestScript.SetupActionaddAction()Adds and returns a new value for action ()TestScript.SetupaddAction(TestScript.SetupAction theValue)Adds a given new value for action ()List<TestScript.SetupAction>getAction()Gets the value(s) for action ().TestScript.SetupActiongetActionFirstRep()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)TestScript.MetadatagetMetadata()Gets the value(s) for metadata ().booleanisEmpty()TestScript.SetupsetAction(List<TestScript.SetupAction> theValue)Sets the value(s) for action ()TestScript.SetupsetMetadata(TestScript.Metadata theValue)Sets the value(s) for metadata ()-
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
-
Setup
public Setup()
-
-
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
-
getMetadata
public TestScript.Metadata 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
public TestScript.Setup setMetadata(TestScript.Metadata theValue)
Sets the value(s) for metadata ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
getAction
public List<TestScript.SetupAction> 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
public TestScript.Setup setAction(List<TestScript.SetupAction> theValue)
Sets the value(s) for action ()Definition: Action would contain either an operation or an assertion.
-
addAction
public TestScript.SetupAction addAction()
Adds and returns a new value for action ()Definition: Action would contain either an operation or an assertion.
-
addAction
public TestScript.Setup addAction(TestScript.SetupAction theValue)
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
public TestScript.SetupAction 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.
-
-