Class TestScript.SetupActionOperation
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.TestScript.SetupActionOperation
-
- 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.SetupActionOperation extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.setup.action.operation ()Definition: The operation to perform
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetupActionOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestScript.SetupActionOperationRequestHeaderaddRequestHeader()Adds and returns a new value for requestHeader ()TestScript.SetupActionOperationaddRequestHeader(TestScript.SetupActionOperationRequestHeader theValue)Adds a given new value for requestHeader ()StringgetAccept()Gets the value(s) for accept ().ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum>getAcceptElement()Gets the value(s) for accept ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetContentType()Gets the value(s) for contentType ().ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum>getContentTypeElement()Gets the value(s) for contentType ().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 ().BooleangetEncodeRequestUrl()Gets the value(s) for encodeRequestUrl ().ca.uhn.fhir.model.primitive.BooleanDtgetEncodeRequestUrlElement()Gets the value(s) for encodeRequestUrl ().StringgetLabel()Gets the value(s) for label ().ca.uhn.fhir.model.primitive.StringDtgetLabelElement()Gets the value(s) for label ().StringgetParams()Gets the value(s) for params ().ca.uhn.fhir.model.primitive.StringDtgetParamsElement()Gets the value(s) for params ().List<TestScript.SetupActionOperationRequestHeader>getRequestHeader()Gets the value(s) for requestHeader ().TestScript.SetupActionOperationRequestHeadergetRequestHeaderFirstRep()Gets the first repetition for requestHeader (), creating it if it does not already exist.StringgetResource()Gets the value(s) for resource ().ca.uhn.fhir.model.primitive.CodeDtgetResourceElement()Gets the value(s) for resource ().StringgetResponseId()Gets the value(s) for responseId ().ca.uhn.fhir.model.primitive.IdDtgetResponseIdElement()Gets the value(s) for responseId ().StringgetSourceId()Gets the value(s) for sourceId ().ca.uhn.fhir.model.primitive.IdDtgetSourceIdElement()Gets the value(s) for sourceId ().StringgetTargetId()Gets the value(s) for targetId ().ca.uhn.fhir.model.primitive.IdDtgetTargetIdElement()Gets the value(s) for targetId ().CodingDtgetType()Gets the value(s) for type ().StringgetUrl()Gets the value(s) for url ().ca.uhn.fhir.model.primitive.StringDtgetUrlElement()Gets the value(s) for url ().booleanisEmpty()TestScript.SetupActionOperationsetAccept(ContentTypeEnum theValue)Sets the value(s) for accept ()TestScript.SetupActionOperationsetAccept(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue)Sets the value(s) for accept ()TestScript.SetupActionOperationsetContentType(ContentTypeEnum theValue)Sets the value(s) for contentType ()TestScript.SetupActionOperationsetContentType(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue)Sets the value(s) for contentType ()TestScript.SetupActionOperationsetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()TestScript.SetupActionOperationsetDescription(String theString)Sets the value for description ()TestScript.SetupActionOperationsetDestination(int theInteger)Sets the value for destination ()TestScript.SetupActionOperationsetDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for destination ()TestScript.SetupActionOperationsetEncodeRequestUrl(boolean theBoolean)Sets the value for encodeRequestUrl ()TestScript.SetupActionOperationsetEncodeRequestUrl(ca.uhn.fhir.model.primitive.BooleanDt theValue)Sets the value(s) for encodeRequestUrl ()TestScript.SetupActionOperationsetLabel(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for label ()TestScript.SetupActionOperationsetLabel(String theString)Sets the value for label ()TestScript.SetupActionOperationsetParams(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for params ()TestScript.SetupActionOperationsetParams(String theString)Sets the value for params ()TestScript.SetupActionOperationsetRequestHeader(List<TestScript.SetupActionOperationRequestHeader> theValue)Sets the value(s) for requestHeader ()TestScript.SetupActionOperationsetResource(ca.uhn.fhir.model.primitive.CodeDt theValue)Sets the value(s) for resource ()TestScript.SetupActionOperationsetResource(String theCode)Sets the value for resource ()TestScript.SetupActionOperationsetResponseId(ca.uhn.fhir.model.primitive.IdDt theValue)Sets the value(s) for responseId ()TestScript.SetupActionOperationsetResponseId(String theId)Sets the value for responseId ()TestScript.SetupActionOperationsetSourceId(ca.uhn.fhir.model.primitive.IdDt theValue)Sets the value(s) for sourceId ()TestScript.SetupActionOperationsetSourceId(String theId)Sets the value for sourceId ()TestScript.SetupActionOperationsetTargetId(ca.uhn.fhir.model.primitive.IdDt theValue)Sets the value(s) for targetId ()TestScript.SetupActionOperationsetTargetId(String theId)Sets the value for targetId ()TestScript.SetupActionOperationsetType(CodingDt theValue)Sets the value(s) for type ()TestScript.SetupActionOperationsetUrl(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for url ()TestScript.SetupActionOperationsetUrl(String theString)Sets the value for url ()-
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
-
SetupActionOperation
public SetupActionOperation()
-
-
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
-
getType
public CodingDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: Server interaction or operation type
-
setType
public TestScript.SetupActionOperation setType(CodingDt theValue)
Sets the value(s) for type ()Definition: Server interaction or operation type
-
getResourceElement
public ca.uhn.fhir.model.primitive.CodeDt getResourceElement()
Gets the value(s) for resource (). creating it if it does not exist. Will not returnnull.Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
getResource
public String getResource()
Gets the value(s) for resource (). creating it if it does not exist. This method may returnnull.Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
setResource
public TestScript.SetupActionOperation setResource(ca.uhn.fhir.model.primitive.CodeDt theValue)
Sets the value(s) for resource ()Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
setResource
public TestScript.SetupActionOperation setResource(String theCode)
Sets the value for resource ()Definition: The type of the resource. See http://hl7-fhir.github.io/resourcelist.html.
-
getLabelElement
public ca.uhn.fhir.model.primitive.StringDt getLabelElement()
Gets the value(s) for label (). creating it if it does not exist. Will not returnnull.Definition: The label would be used for tracking/logging purposes by test engines.
-
getLabel
public String getLabel()
Gets the value(s) for label (). creating it if it does not exist. This method may returnnull.Definition: The label would be used for tracking/logging purposes by test engines.
-
setLabel
public TestScript.SetupActionOperation setLabel(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for label ()Definition: The label would be used for tracking/logging purposes by test engines.
-
setLabel
public TestScript.SetupActionOperation setLabel(String theString)
Sets the value for label ()Definition: The label would be used for tracking/logging purposes by test engines.
-
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: The description would be used by test engines for tracking and reporting purposes.
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition: The description would be used by test engines for tracking and reporting purposes.
-
setDescription
public TestScript.SetupActionOperation setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition: The description would be used by test engines for tracking and reporting purposes.
-
setDescription
public TestScript.SetupActionOperation setDescription(String theString)
Sets the value for description ()Definition: The description would be used by test engines for tracking and reporting purposes.
-
getAcceptElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> getAcceptElement()
Gets the value(s) for accept (). creating it if it does not exist. Will not returnnull.Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
getAccept
public String getAccept()
Gets the value(s) for accept (). creating it if it does not exist. This method may returnnull.Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
public TestScript.SetupActionOperation setAccept(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue)
Sets the value(s) for accept ()Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
public TestScript.SetupActionOperation setAccept(ContentTypeEnum theValue)
Sets the value(s) for accept ()Definition: The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
getContentTypeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> getContentTypeElement()
Gets the value(s) for contentType (). creating it if it does not exist. Will not returnnull.Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
getContentType
public String getContentType()
Gets the value(s) for contentType (). creating it if it does not exist. This method may returnnull.Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
public TestScript.SetupActionOperation setContentType(ca.uhn.fhir.model.primitive.BoundCodeDt<ContentTypeEnum> theValue)
Sets the value(s) for contentType ()Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
public TestScript.SetupActionOperation setContentType(ContentTypeEnum theValue)
Sets the value(s) for contentType ()Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
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 to perform the operation on.
-
getDestination
public Integer getDestination()
Gets the value(s) for destination (). creating it if it does not exist. This method may returnnull.Definition: Which server to perform the operation on.
-
setDestination
public TestScript.SetupActionOperation setDestination(ca.uhn.fhir.model.primitive.IntegerDt theValue)
Sets the value(s) for destination ()Definition: Which server to perform the operation on.
-
setDestination
public TestScript.SetupActionOperation setDestination(int theInteger)
Sets the value for destination ()Definition: Which server to perform the operation on.
-
getEncodeRequestUrlElement
public ca.uhn.fhir.model.primitive.BooleanDt getEncodeRequestUrlElement()
Gets the value(s) for encodeRequestUrl (). creating it if it does not exist. Will not returnnull.Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
getEncodeRequestUrl
public Boolean getEncodeRequestUrl()
Gets the value(s) for encodeRequestUrl (). creating it if it does not exist. This method may returnnull.Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
setEncodeRequestUrl
public TestScript.SetupActionOperation setEncodeRequestUrl(ca.uhn.fhir.model.primitive.BooleanDt theValue)
Sets the value(s) for encodeRequestUrl ()Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
setEncodeRequestUrl
public TestScript.SetupActionOperation setEncodeRequestUrl(boolean theBoolean)
Sets the value for encodeRequestUrl ()Definition: Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths.
-
getParamsElement
public ca.uhn.fhir.model.primitive.StringDt getParamsElement()
Gets the value(s) for params (). creating it if it does not exist. Will not returnnull.Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getParams
public String getParams()
Gets the value(s) for params (). creating it if it does not exist. This method may returnnull.Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
setParams
public TestScript.SetupActionOperation setParams(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for params ()Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
setParams
public TestScript.SetupActionOperation setParams(String theString)
Sets the value for params ()Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getRequestHeader
public List<TestScript.SetupActionOperationRequestHeader> getRequestHeader()
Gets the value(s) for requestHeader (). creating it if it does not exist. Will not returnnull.Definition: Header elements would be used to set HTTP headers.
-
setRequestHeader
public TestScript.SetupActionOperation setRequestHeader(List<TestScript.SetupActionOperationRequestHeader> theValue)
Sets the value(s) for requestHeader ()Definition: Header elements would be used to set HTTP headers.
-
addRequestHeader
public TestScript.SetupActionOperationRequestHeader addRequestHeader()
Adds and returns a new value for requestHeader ()Definition: Header elements would be used to set HTTP headers.
-
addRequestHeader
public TestScript.SetupActionOperation addRequestHeader(TestScript.SetupActionOperationRequestHeader theValue)
Adds a given new value for requestHeader ()Definition: Header elements would be used to set HTTP headers.
- Parameters:
theValue- The requestHeader to add (must not benull)
-
getRequestHeaderFirstRep
public TestScript.SetupActionOperationRequestHeader getRequestHeaderFirstRep()
Gets the first repetition for requestHeader (), creating it if it does not already exist.Definition: Header elements would be used to set HTTP headers.
-
getResponseIdElement
public ca.uhn.fhir.model.primitive.IdDt getResponseIdElement()
Gets the value(s) for responseId (). creating it if it does not exist. Will not returnnull.Definition: The fixture id (maybe new) to map to the response.
-
getResponseId
public String getResponseId()
Gets the value(s) for responseId (). creating it if it does not exist. This method may returnnull.Definition: The fixture id (maybe new) to map to the response.
-
setResponseId
public TestScript.SetupActionOperation setResponseId(ca.uhn.fhir.model.primitive.IdDt theValue)
Sets the value(s) for responseId ()Definition: The fixture id (maybe new) to map to the response.
-
setResponseId
public TestScript.SetupActionOperation setResponseId(String theId)
Sets the value for responseId ()Definition: The fixture id (maybe new) to map to the response.
-
getSourceIdElement
public ca.uhn.fhir.model.primitive.IdDt getSourceIdElement()
Gets the value(s) for sourceId (). creating it if it does not exist. Will not returnnull.Definition: The id of the fixture used as the body of a PUT or POST request.
-
getSourceId
public String getSourceId()
Gets the value(s) for sourceId (). creating it if it does not exist. This method may returnnull.Definition: The id of the fixture used as the body of a PUT or POST request.
-
setSourceId
public TestScript.SetupActionOperation setSourceId(ca.uhn.fhir.model.primitive.IdDt theValue)
Sets the value(s) for sourceId ()Definition: The id of the fixture used as the body of a PUT or POST request.
-
setSourceId
public TestScript.SetupActionOperation setSourceId(String theId)
Sets the value for sourceId ()Definition: The id of the fixture used as the body of a PUT or POST request.
-
getTargetIdElement
public ca.uhn.fhir.model.primitive.IdDt getTargetIdElement()
Gets the value(s) for targetId (). creating it if it does not exist. Will not returnnull.Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
getTargetId
public String getTargetId()
Gets the value(s) for targetId (). creating it if it does not exist. This method may returnnull.Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
setTargetId
public TestScript.SetupActionOperation setTargetId(ca.uhn.fhir.model.primitive.IdDt theValue)
Sets the value(s) for targetId ()Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
setTargetId
public TestScript.SetupActionOperation setTargetId(String theId)
Sets the value for targetId ()Definition: Id of fixture used for extracting the [id], [type], and [vid] for GET requests
-
getUrlElement
public ca.uhn.fhir.model.primitive.StringDt getUrlElement()
Gets the value(s) for url (). creating it if it does not exist. Will not returnnull.Definition: Complete request URL.
-
getUrl
public String getUrl()
Gets the value(s) for url (). creating it if it does not exist. This method may returnnull.Definition: Complete request URL.
-
setUrl
public TestScript.SetupActionOperation setUrl(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for url ()Definition: Complete request URL.
-
setUrl
public TestScript.SetupActionOperation setUrl(String theString)
Sets the value for url ()Definition: Complete request URL.
-
-