
Class TestScript.Variable
- 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: Variable is set based either on element value in response body or on header field value in the response headers.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
 List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Gets the value(s) for headerField ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for headerField ().getName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for name ().getPath()Gets the value(s) for path ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for path ().Gets the value(s) for sourceId ().ca.uhn.fhir.model.primitive.IdDtGets the value(s) for sourceId ().booleanisEmpty()setHeaderField(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for headerField ()setHeaderField(String theString) Sets the value for headerField ()setName(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setPath(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for path ()Sets the value for path ()setSourceId(ca.uhn.fhir.model.primitive.IdDt theValue) Sets the value(s) for sourceId ()setSourceId(String theId) Sets the value for sourceId ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElementgetElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElementaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBasefhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElementgetElementSpecificId, getId, setElementSpecificId, setId, setId
- 
Constructor Details- 
Variablepublic Variable()
 
- 
- 
Method Details- 
isEmpty- Specified by:
- isEmptyin interface- org.hl7.fhir.instance.model.api.IBase
 
- 
getAllPopulatedChildElementsOfTypepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
- getAllPopulatedChildElementsOfTypein interface- ca.uhn.fhir.model.api.ICompositeElement
 
- 
getNameElementGets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: Descriptive name for this variable 
- 
getNameGets the value(s) for name (). creating it if it does not exist. This method may returnnull.Definition: Descriptive name for this variable 
- 
setNameSets the value(s) for name ()Definition: Descriptive name for this variable 
- 
setNameSets the value for name ()Definition: Descriptive name for this variable 
- 
getHeaderFieldElementGets the value(s) for headerField (). creating it if it does not exist. Will not returnnull.Definition: Will be used to grab the HTTP header field value from the headers that sourceId is pointing to. 
- 
getHeaderFieldGets the value(s) for headerField (). creating it if it does not exist. This method may returnnull.Definition: Will be used to grab the HTTP header field value from the headers that sourceId is pointing to. 
- 
setHeaderFieldSets the value(s) for headerField ()Definition: Will be used to grab the HTTP header field value from the headers that sourceId is pointing to. 
- 
setHeaderFieldSets the value for headerField ()Definition: Will be used to grab the HTTP header field value from the headers that sourceId is pointing to. 
- 
getPathElementGets the value(s) for path (). creating it if it does not exist. Will not returnnull.Definition: XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both. 
- 
getPathGets the value(s) for path (). creating it if it does not exist. This method may returnnull.Definition: XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both. 
- 
setPathSets the value(s) for path ()Definition: XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both. 
- 
setPathSets the value for path ()Definition: XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both. 
- 
getSourceIdElementGets the value(s) for sourceId (). creating it if it does not exist. Will not returnnull.Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable. 
- 
getSourceIdGets the value(s) for sourceId (). creating it if it does not exist. This method may returnnull.Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable. 
- 
setSourceIdSets the value(s) for sourceId ()Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable. 
- 
setSourceIdSets the value for sourceId ()Definition: Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable. 
 
-