Class TestScript.Metadata
- 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: The required capability must exist and are assumed to function correctly on the FHIR server being tested.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for capability ()addCapability
(TestScript.MetadataCapability theValue) Adds a given new value for capability ()addLink()
Adds and returns a new value for link ()addLink
(TestScript.MetadataLink theValue) Adds a given new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for capability ().Gets the first repetition for capability (), creating it if it does not already exist.getLink()
Gets the value(s) for link ().Gets the first repetition for link (), creating it if it does not already exist.boolean
isEmpty()
setCapability
(List<TestScript.MetadataCapability> theValue) Sets the value(s) for capability ()setLink
(List<TestScript.MetadataLink> theValue) Sets the value(s) for link ()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
-
Metadata
public Metadata()
-
-
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
-
getLink
Gets the value(s) for link (). creating it if it does not exist. Will not returnnull
.Definition: A link to the FHIR specification that this test is covering.
-
setLink
Sets the value(s) for link ()Definition: A link to the FHIR specification that this test is covering.
-
addLink
Adds and returns a new value for link ()Definition: A link to the FHIR specification that this test is covering.
-
addLink
Adds a given new value for link ()Definition: A link to the FHIR specification that this test is covering.
- Parameters:
theValue
- The link to add (must not benull
)
-
getLinkFirstRep
Gets the first repetition for link (), creating it if it does not already exist.Definition: A link to the FHIR specification that this test is covering.
-
getCapability
Gets the value(s) for capability (). 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.
-
setCapability
Sets the value(s) for capability ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
addCapability
Adds and returns a new value for capability ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
addCapability
Adds a given new value for capability ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
- Parameters:
theValue
- The capability to add (must not benull
)
-
getCapabilityFirstRep
Gets the first repetition for capability (), creating it if it does not already exist.Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-