Class TestScript.MetadataCapability
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class TestScript.MetadataCapability extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.metadata.capability ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetadataCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uhn.fhir.model.primitive.UriDtaddLink()Adds and returns a new value for link ()TestScript.MetadataCapabilityaddLink(ca.uhn.fhir.model.primitive.UriDt theValue)Adds a given new value for link ()TestScript.MetadataCapabilityaddLink(String theUri)Adds a new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetConformance()Gets the value(s) for conformance ().StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().IntegergetDestination()Gets the value(s) for destination ().ca.uhn.fhir.model.primitive.IntegerDtgetDestinationElement()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.UriDtgetLinkFirstRep()Gets the first repetition for link (), creating it if it does not already exist.BooleangetRequired()Gets the value(s) for required ().ca.uhn.fhir.model.primitive.BooleanDtgetRequiredElement()Gets the value(s) for required ().BooleangetValidated()Gets the value(s) for validated ().ca.uhn.fhir.model.primitive.BooleanDtgetValidatedElement()Gets the value(s) for validated ().booleanisEmpty()TestScript.MetadataCapabilitysetConformance(ResourceReferenceDt theValue)Sets the value(s) for conformance ()TestScript.MetadataCapabilitysetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()TestScript.MetadataCapabilitysetDescription(String theString)Sets the value for description ()TestScript.MetadataCapabilitysetDestination(int theInteger)Sets the value for destination ()TestScript.MetadataCapabilitysetDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for destination ()TestScript.MetadataCapabilitysetLink(List<ca.uhn.fhir.model.primitive.UriDt> theValue)Sets the value(s) for link ()TestScript.MetadataCapabilitysetRequired(boolean theBoolean)Sets the value for required ()TestScript.MetadataCapabilitysetRequired(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for required ()TestScript.MetadataCapabilitysetValidated(boolean theBoolean)Sets the value for validated ()TestScript.MetadataCapabilitysetValidated(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
-
-
-
-
Constructor Detail
-
MetadataCapability
public MetadataCapability()
-
-
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
-
getRequiredElement
public ca.uhn.fhir.model.primitive.BooleanDt 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
public Boolean 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
public TestScript.MetadataCapability setRequired(ca.uhn.fhir.model.primitive.BooleanDt theValue)
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
public TestScript.MetadataCapability setRequired(boolean theBoolean)
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
public ca.uhn.fhir.model.primitive.BooleanDt 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
public Boolean 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
public TestScript.MetadataCapability setValidated(ca.uhn.fhir.model.primitive.BooleanDt theValue)
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
public TestScript.MetadataCapability setValidated(boolean theBoolean)
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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public TestScript.MetadataCapability setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: Description of the capabilities that this test script is requiring the server to support.
-
setDescription
public TestScript.MetadataCapability setDescription(String theString)
Sets the value for description ()Definition: Description of the capabilities that this test script is requiring the server to support.
-
getDestinationElement
public ca.uhn.fhir.model.primitive.IntegerDt 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
public Integer 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
public TestScript.MetadataCapability setDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue)
Sets the value(s) for destination ()Definition: Which server these requirements apply to.
-
setDestination
public TestScript.MetadataCapability setDestination(int theInteger)
Sets the value for destination ()Definition: Which server these requirements apply to.
-
getLink
public List<ca.uhn.fhir.model.primitive.UriDt> 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
public TestScript.MetadataCapability setLink(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
Sets the value(s) for link ()Definition: Links to the FHIR specification that describes this interaction and the resources involved in more detail.
-
addLink
public ca.uhn.fhir.model.primitive.UriDt 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
public TestScript.MetadataCapability addLink(ca.uhn.fhir.model.primitive.UriDt theValue)
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
public ca.uhn.fhir.model.primitive.UriDt 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
public TestScript.MetadataCapability addLink(String theUri)
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
public ResourceReferenceDt 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
public TestScript.MetadataCapability setConformance(ResourceReferenceDt theValue)
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.
-
-