public static class TestScript.TestScriptVariableComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
defaultValue
A default, hard-coded, or user-defined value for this variable.
|
protected StringType |
headerField
Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.
|
protected StringType |
name
Descriptive name for this variable.
|
protected StringType |
path
XPath or JSONPath against the fixture body.
|
protected IdType |
sourceId
Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.
|
modifierExtension| Constructor and Description |
|---|
TestScriptVariableComponent()
Constructor
|
TestScriptVariableComponent(StringType name)
Constructor
|
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtensionaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected StringType name
protected StringType defaultValue
protected StringType headerField
protected StringType path
public TestScriptVariableComponent()
public TestScriptVariableComponent(StringType name)
public StringType getNameElement()
name (Descriptive name for this variable.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public TestScript.TestScriptVariableComponent setNameElement(StringType value)
value - name (Descriptive name for this variable.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic TestScript.TestScriptVariableComponent setName(String value)
value - Descriptive name for this variable.public StringType getDefaultValueElement()
defaultValue (A default, hard-coded, or user-defined value for this variable.). This is the underlying object with id, value and extensions. The accessor "getDefaultValue" gives direct access to the valuepublic boolean hasDefaultValueElement()
public boolean hasDefaultValue()
public TestScript.TestScriptVariableComponent setDefaultValueElement(StringType value)
value - defaultValue (A default, hard-coded, or user-defined value for this variable.). This is the underlying object with id, value and extensions. The accessor "getDefaultValue" gives direct access to the valuepublic String getDefaultValue()
public TestScript.TestScriptVariableComponent setDefaultValue(String value)
value - A default, hard-coded, or user-defined value for this variable.public StringType getHeaderFieldElement()
headerField (Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.). This is the underlying object with id, value and extensions. The accessor "getHeaderField" gives direct access to the valuepublic boolean hasHeaderFieldElement()
public boolean hasHeaderField()
public TestScript.TestScriptVariableComponent setHeaderFieldElement(StringType value)
value - headerField (Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.). This is the underlying object with id, value and extensions. The accessor "getHeaderField" gives direct access to the valuepublic String getHeaderField()
public TestScript.TestScriptVariableComponent setHeaderField(String value)
value - Will be used to grab the HTTP header field value from the headers that sourceId is pointing to.public StringType getPathElement()
path (XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the valuepublic boolean hasPathElement()
public boolean hasPath()
public TestScript.TestScriptVariableComponent setPathElement(StringType value)
value - path (XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both.). This is the underlying object with id, value and extensions. The accessor "getPath" gives direct access to the valuepublic String getPath()
public TestScript.TestScriptVariableComponent setPath(String value)
value - XPath or JSONPath against the fixture body. When variables are defined, either headerField must be specified or path, but not both.public IdType getSourceIdElement()
sourceId (Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the valuepublic boolean hasSourceIdElement()
public boolean hasSourceId()
public TestScript.TestScriptVariableComponent setSourceIdElement(IdType value)
value - sourceId (Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the valuepublic String getSourceId()
public TestScript.TestScriptVariableComponent setSourceId(String value)
value - Fixture to evaluate the XPath/JSONPath expression or the headerField against within this variable.protected void listChildren(List<Property> childrenList)
listChildren in class BackboneElementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic TestScript.TestScriptVariableComponent copy()
copy in class BackboneElementpublic boolean equalsDeep(Base other)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in class BackboneElementCopyright © 2014–2018 University Health Network. All rights reserved.