Class TestScript.MetadataCapability
- 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: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.model.primitive.UriDt
addLink()
Adds and returns a new value for link ()addLink
(ca.uhn.fhir.model.primitive.UriDt theValue) Adds a given new value for link ()Adds a new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for conformance ().Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().Gets the value(s) for destination ().ca.uhn.fhir.model.primitive.IntegerDt
Gets the value(s) for destination ().List
<ca.uhn.fhir.model.primitive.UriDt> getLink()
Gets the value(s) for link ().ca.uhn.fhir.model.primitive.UriDt
Gets the first repetition for link (), creating it if it does not already exist.Gets the value(s) for required ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for required ().Gets the value(s) for validated ().ca.uhn.fhir.model.primitive.BooleanDt
Gets the value(s) for validated ().boolean
isEmpty()
setConformance
(ResourceReferenceDt theValue) Sets the value(s) for conformance ()setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setDestination
(int theInteger) Sets the value for destination ()setDestination
(ca.uhn.fhir.model.primitive.IntegerDt theValue) Sets the value(s) for destination ()Sets the value(s) for link ()setRequired
(boolean theBoolean) Sets the value for required ()setRequired
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for required ()setValidated
(boolean theBoolean) Sets the value for validated ()setValidated
(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for validated ()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
-
MetadataCapability
public MetadataCapability()
-
-
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
-
getRequiredElement
Gets the value(s) for required (). creating it if it does not exist. Will not returnnull
.Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.
-
getRequired
Gets the value(s) for required (). creating it if it does not exist. This method may returnnull
.Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.
-
setRequired
Sets the value(s) for required ()Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.
-
setRequired
Sets the value for required ()Definition: Whether or not the test execution will require the given capabilities of the server in order for this test script to execute.
-
getValidatedElement
Gets the value(s) for validated (). creating it if it does not exist. Will not returnnull
.Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.
-
getValidated
Gets the value(s) for validated (). creating it if it does not exist. This method may returnnull
.Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.
-
setValidated
Sets the value(s) for validated ()Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.
-
setValidated
Sets the value for validated ()Definition: Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute.
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition: Description of the capabilities that this test script is requiring the server to support.
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition: Description of the capabilities that this test script is requiring the server to support.
-
setDescription
Sets the value(s) for description ()Definition: Description of the capabilities that this test script is requiring the server to support.
-
setDescription
Sets the value for description ()Definition: Description of the capabilities that this test script is requiring the server to support.
-
getDestinationElement
Gets the value(s) for destination (). creating it if it does not exist. Will not returnnull
.Definition: Which server these requirements apply to.
-
getDestination
Gets the value(s) for destination (). creating it if it does not exist. This method may returnnull
.Definition: Which server these requirements apply to.
-
setDestination
Sets the value(s) for destination ()Definition: Which server these requirements apply to.
-
setDestination
Sets the value for destination ()Definition: Which server these requirements apply to.
-
getLink
Gets the value(s) for link (). creating it if it does not exist. Will not returnnull
.Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
-
setLink
Sets the value(s) for link ()Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
-
addLink
Adds and returns a new value for link ()Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
-
addLink
Adds a given new value for link ()Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
- 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: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
-
addLink
Adds a new value for link ()Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getConformance
Gets the value(s) for conformance (). creating it if it does not exist. Will not returnnull
.Definition: Minimum conformance required of server for test script to execute successfully. If server does not meet at a minimum the reference conformance definition, then all tests in this script are skipped.
-
setConformance
Sets the value(s) for conformance ()Definition: Minimum conformance required of server for test script to execute successfully. If server does not meet at a minimum the reference conformance definition, then all tests in this script are skipped.
-