Class TestScript.Metadata
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class TestScript.Metadata extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.metadata ()Definition: The required capability must exist and are assumed to function correctly on the FHIR server being tested.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Metadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestScript.MetadataCapabilityaddCapability()Adds and returns a new value for capability ()TestScript.MetadataaddCapability(TestScript.MetadataCapability theValue)Adds a given new value for capability ()TestScript.MetadataLinkaddLink()Adds and returns a new value for link ()TestScript.MetadataaddLink(TestScript.MetadataLink theValue)Adds a given new value for link ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)List<TestScript.MetadataCapability>getCapability()Gets the value(s) for capability ().TestScript.MetadataCapabilitygetCapabilityFirstRep()Gets the first repetition for capability (), creating it if it does not already exist.List<TestScript.MetadataLink>getLink()Gets the value(s) for link ().TestScript.MetadataLinkgetLinkFirstRep()Gets the first repetition for link (), creating it if it does not already exist.booleanisEmpty()TestScript.MetadatasetCapability(List<TestScript.MetadataCapability> theValue)Sets the value(s) for capability ()TestScript.MetadatasetLink(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
-
-
-
-
Constructor Detail
-
Metadata
public Metadata()
-
-
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
-
getLink
public List<TestScript.MetadataLink> 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
public TestScript.Metadata setLink(List<TestScript.MetadataLink> theValue)
Sets the value(s) for link ()Definition: A link to the FHIR specification that this test is covering.
-
addLink
public TestScript.MetadataLink addLink()
Adds and returns a new value for link ()Definition: A link to the FHIR specification that this test is covering.
-
addLink
public TestScript.Metadata addLink(TestScript.MetadataLink theValue)
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
public TestScript.MetadataLink 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
public List<TestScript.MetadataCapability> 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
public TestScript.Metadata setCapability(List<TestScript.MetadataCapability> theValue)
Sets the value(s) for capability ()Definition: Capabilities that must exist and are assumed to function correctly on the FHIR server being tested.
-
addCapability
public TestScript.MetadataCapability 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
public TestScript.Metadata addCapability(TestScript.MetadataCapability theValue)
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
public TestScript.MetadataCapability 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.
-
-