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:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getType

      public CodingDt getType()
      Gets the value(s) for type (). creating it if it does not exist. Will not return null.

      Definition: Server interaction or operation type

    • setType

      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 return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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

      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 return null.

      Definition: The description would be used by test engines for tracking and reporting purposes.

    • getDescription

      Gets the value(s) for description (). creating it if it does not exist. This method may return null.

      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

      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 return null.

      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 return null.

      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

      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 return null.

      Definition: The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.

    • getContentType

      Gets the value(s) for contentType (). creating it if it does not exist. This method may return null.

      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

      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 return null.

      Definition: Which server to perform the operation on.

    • getDestination

      Gets the value(s) for destination (). creating it if it does not exist. This method may return null.

      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

      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 return null.

      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

      Gets the value(s) for encodeRequestUrl (). creating it if it does not exist. This method may return null.

      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

      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 return null.

      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 return null.

      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

      Sets the value for params ()

      Definition: Path plus parameters after [type]. Used to set parts of the request URL explicitly.

    • getRequestHeader

      Gets the value(s) for requestHeader (). creating it if it does not exist. Will not return null.

      Definition: Header elements would be used to set HTTP headers.

    • setRequestHeader

      Sets the value(s) for requestHeader ()

      Definition: Header elements would be used to set HTTP headers.

    • addRequestHeader

      Adds and returns a new value for requestHeader ()

      Definition: Header elements would be used to set HTTP headers.

    • addRequestHeader

      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 be null)
    • 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 return null.

      Definition: The fixture id (maybe new) to map to the response.

    • getResponseId

      Gets the value(s) for responseId (). creating it if it does not exist. This method may return null.

      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

      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 return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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

      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 return null.

      Definition: Complete request URL.

    • getUrl

      public String getUrl()
      Gets the value(s) for url (). creating it if it does not exist. This method may return null.

      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

      Sets the value for url ()

      Definition: Complete request URL.