Package org.hl7.fhir.r4.model
Class TestScript.SetupActionOperationComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.TestScript.SetupActionOperationComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- TestScript
public static class TestScript.SetupActionOperationComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeTypeacceptThe mime-type to use for RESTful operation in the 'Accept' header.protected CodeTypecontentTypeThe mime-type to use for RESTful operation in the 'Content-Type' header.protected StringTypedescriptionThe description would be used by test engines for tracking and reporting purposes.protected IntegerTypedestinationThe server where the request message is destined for.protected BooleanTypeencodeRequestUrlWhether or not to implicitly send the request url in encoded format.protected StringTypelabelThe label would be used for tracking/logging purposes by test engines.protected Enumeration<TestScript.TestScriptRequestMethodCode>methodThe HTTP method the test engine MUST use for this operation regardless of any other operation details.protected IntegerTypeoriginThe server where the request message originates from.protected StringTypeparamsPath plus parameters after [type].protected List<TestScript.SetupActionOperationRequestHeaderComponent>requestHeaderHeader elements would be used to set HTTP headers.protected IdTyperequestIdThe fixture id (maybe new) to map to the request.protected CodeTyperesourceThe type of the resource.protected IdTyperesponseIdThe fixture id (maybe new) to map to the response.protected IdTypesourceIdThe id of the fixture used as the body of a PUT or POST request.protected IdTypetargetIdId of fixture used for extracting the [id], [type], and [vid] for GET requests.protected CodingtypeServer interaction or operation type.protected StringTypeurlComplete request URL.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SetupActionOperationComponent()ConstructorSetupActionOperationComponent(BooleanType encodeRequestUrl)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
resource
protected CodeType resource
The type of the resource. See http://build.fhir.org/resourcelist.html.
-
label
protected StringType label
The label would be used for tracking/logging purposes by test engines.
-
description
protected StringType description
The description would be used by test engines for tracking and reporting purposes.
-
contentType
protected CodeType contentType
The mime-type to use for RESTful operation in the 'Content-Type' header.
-
destination
protected IntegerType destination
The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.
-
encodeRequestUrl
protected BooleanType encodeRequestUrl
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.
-
method
protected Enumeration<TestScript.TestScriptRequestMethodCode> method
The HTTP method the test engine MUST use for this operation regardless of any other operation details.
-
origin
protected IntegerType origin
The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.
-
params
protected StringType params
Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
requestHeader
protected List<TestScript.SetupActionOperationRequestHeaderComponent> requestHeader
Header elements would be used to set HTTP headers.
-
responseId
protected IdType responseId
The fixture id (maybe new) to map to the response.
-
targetId
protected IdType targetId
Id of fixture used for extracting the [id], [type], and [vid] for GET requests.
-
url
protected StringType url
Complete request URL.
-
-
Constructor Detail
-
SetupActionOperationComponent
public SetupActionOperationComponent()
Constructor
-
SetupActionOperationComponent
public SetupActionOperationComponent(BooleanType encodeRequestUrl)
Constructor
-
-
Method Detail
-
hasType
public boolean hasType()
-
setType
public TestScript.SetupActionOperationComponent setType(Coding value)
- Parameters:
value-type(Server interaction or operation type.)
-
getResourceElement
public CodeType getResourceElement()
- Returns:
resource(The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value
-
hasResourceElement
public boolean hasResourceElement()
-
hasResource
public boolean hasResource()
-
setResourceElement
public TestScript.SetupActionOperationComponent setResourceElement(CodeType value)
- Parameters:
value-resource(The type of the resource. See http://build.fhir.org/resourcelist.html.). This is the underlying object with id, value and extensions. The accessor "getResource" gives direct access to the value
-
getResource
public String getResource()
- Returns:
- The type of the resource. See http://build.fhir.org/resourcelist.html.
-
setResource
public TestScript.SetupActionOperationComponent setResource(String value)
- Parameters:
value- The type of the resource. See http://build.fhir.org/resourcelist.html.
-
getLabelElement
public StringType getLabelElement()
- Returns:
label(The label would be used for tracking/logging purposes by test engines.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
-
hasLabelElement
public boolean hasLabelElement()
-
hasLabel
public boolean hasLabel()
-
setLabelElement
public TestScript.SetupActionOperationComponent setLabelElement(StringType value)
- Parameters:
value-label(The label would be used for tracking/logging purposes by test engines.). This is the underlying object with id, value and extensions. The accessor "getLabel" gives direct access to the value
-
getLabel
public String getLabel()
- Returns:
- The label would be used for tracking/logging purposes by test engines.
-
setLabel
public TestScript.SetupActionOperationComponent setLabel(String value)
- Parameters:
value- The label would be used for tracking/logging purposes by test engines.
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(The description would be used by test engines for tracking and reporting purposes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public TestScript.SetupActionOperationComponent setDescriptionElement(StringType value)
- Parameters:
value-description(The description would be used by test engines for tracking and reporting purposes.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- The description would be used by test engines for tracking and reporting purposes.
-
setDescription
public TestScript.SetupActionOperationComponent setDescription(String value)
- Parameters:
value- The description would be used by test engines for tracking and reporting purposes.
-
getAcceptElement
public CodeType getAcceptElement()
- Returns:
accept(The mime-type to use for RESTful operation in the 'Accept' header.). This is the underlying object with id, value and extensions. The accessor "getAccept" gives direct access to the value
-
hasAcceptElement
public boolean hasAcceptElement()
-
hasAccept
public boolean hasAccept()
-
setAcceptElement
public TestScript.SetupActionOperationComponent setAcceptElement(CodeType value)
- Parameters:
value-accept(The mime-type to use for RESTful operation in the 'Accept' header.). This is the underlying object with id, value and extensions. The accessor "getAccept" gives direct access to the value
-
getAccept
public String getAccept()
- Returns:
- The mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
public TestScript.SetupActionOperationComponent setAccept(String value)
- Parameters:
value- The mime-type to use for RESTful operation in the 'Accept' header.
-
getContentTypeElement
public CodeType getContentTypeElement()
- Returns:
contentType(The mime-type to use for RESTful operation in the 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
hasContentTypeElement
public boolean hasContentTypeElement()
-
hasContentType
public boolean hasContentType()
-
setContentTypeElement
public TestScript.SetupActionOperationComponent setContentTypeElement(CodeType value)
- Parameters:
value-contentType(The mime-type to use for RESTful operation in the 'Content-Type' header.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
getContentType
public String getContentType()
- Returns:
- The mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
public TestScript.SetupActionOperationComponent setContentType(String value)
- Parameters:
value- The mime-type to use for RESTful operation in the 'Content-Type' header.
-
getDestinationElement
public IntegerType getDestinationElement()
- Returns:
destination(The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.). This is the underlying object with id, value and extensions. The accessor "getDestination" gives direct access to the value
-
hasDestinationElement
public boolean hasDestinationElement()
-
hasDestination
public boolean hasDestination()
-
setDestinationElement
public TestScript.SetupActionOperationComponent setDestinationElement(IntegerType value)
- Parameters:
value-destination(The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.). This is the underlying object with id, value and extensions. The accessor "getDestination" gives direct access to the value
-
getDestination
public int getDestination()
- Returns:
- The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.
-
setDestination
public TestScript.SetupActionOperationComponent setDestination(int value)
- Parameters:
value- The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.
-
getEncodeRequestUrlElement
public BooleanType getEncodeRequestUrlElement()
- Returns:
encodeRequestUrl(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.). This is the underlying object with id, value and extensions. The accessor "getEncodeRequestUrl" gives direct access to the value
-
hasEncodeRequestUrlElement
public boolean hasEncodeRequestUrlElement()
-
hasEncodeRequestUrl
public boolean hasEncodeRequestUrl()
-
setEncodeRequestUrlElement
public TestScript.SetupActionOperationComponent setEncodeRequestUrlElement(BooleanType value)
- Parameters:
value-encodeRequestUrl(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.). This is the underlying object with id, value and extensions. The accessor "getEncodeRequestUrl" gives direct access to the value
-
getEncodeRequestUrl
public boolean getEncodeRequestUrl()
- Returns:
- 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.SetupActionOperationComponent setEncodeRequestUrl(boolean value)
- Parameters:
value- 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.
-
getMethodElement
public Enumeration<TestScript.TestScriptRequestMethodCode> getMethodElement()
- Returns:
method(The HTTP method the test engine MUST use for this operation regardless of any other operation details.). This is the underlying object with id, value and extensions. The accessor "getMethod" gives direct access to the value
-
hasMethodElement
public boolean hasMethodElement()
-
hasMethod
public boolean hasMethod()
-
setMethodElement
public TestScript.SetupActionOperationComponent setMethodElement(Enumeration<TestScript.TestScriptRequestMethodCode> value)
- Parameters:
value-method(The HTTP method the test engine MUST use for this operation regardless of any other operation details.). This is the underlying object with id, value and extensions. The accessor "getMethod" gives direct access to the value
-
getMethod
public TestScript.TestScriptRequestMethodCode getMethod()
- Returns:
- The HTTP method the test engine MUST use for this operation regardless of any other operation details.
-
setMethod
public TestScript.SetupActionOperationComponent setMethod(TestScript.TestScriptRequestMethodCode value)
- Parameters:
value- The HTTP method the test engine MUST use for this operation regardless of any other operation details.
-
getOriginElement
public IntegerType getOriginElement()
- Returns:
origin(The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.). This is the underlying object with id, value and extensions. The accessor "getOrigin" gives direct access to the value
-
hasOriginElement
public boolean hasOriginElement()
-
hasOrigin
public boolean hasOrigin()
-
setOriginElement
public TestScript.SetupActionOperationComponent setOriginElement(IntegerType value)
- Parameters:
value-origin(The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.). This is the underlying object with id, value and extensions. The accessor "getOrigin" gives direct access to the value
-
getOrigin
public int getOrigin()
- Returns:
- The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.
-
setOrigin
public TestScript.SetupActionOperationComponent setOrigin(int value)
- Parameters:
value- The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.
-
getParamsElement
public StringType getParamsElement()
- Returns:
params(Path plus parameters after [type]. Used to set parts of the request URL explicitly.). This is the underlying object with id, value and extensions. The accessor "getParams" gives direct access to the value
-
hasParamsElement
public boolean hasParamsElement()
-
hasParams
public boolean hasParams()
-
setParamsElement
public TestScript.SetupActionOperationComponent setParamsElement(StringType value)
- Parameters:
value-params(Path plus parameters after [type]. Used to set parts of the request URL explicitly.). This is the underlying object with id, value and extensions. The accessor "getParams" gives direct access to the value
-
getParams
public String getParams()
- Returns:
- Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
setParams
public TestScript.SetupActionOperationComponent setParams(String value)
- Parameters:
value- Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getRequestHeader
public List<TestScript.SetupActionOperationRequestHeaderComponent> getRequestHeader()
- Returns:
requestHeader(Header elements would be used to set HTTP headers.)
-
setRequestHeader
public TestScript.SetupActionOperationComponent setRequestHeader(List<TestScript.SetupActionOperationRequestHeaderComponent> theRequestHeader)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRequestHeader
public boolean hasRequestHeader()
-
addRequestHeader
public TestScript.SetupActionOperationRequestHeaderComponent addRequestHeader()
-
addRequestHeader
public TestScript.SetupActionOperationComponent addRequestHeader(TestScript.SetupActionOperationRequestHeaderComponent t)
-
getRequestHeaderFirstRep
public TestScript.SetupActionOperationRequestHeaderComponent getRequestHeaderFirstRep()
- Returns:
- The first repetition of repeating field
requestHeader, creating it if it does not already exist
-
getRequestIdElement
public IdType getRequestIdElement()
- Returns:
requestId(The fixture id (maybe new) to map to the request.). This is the underlying object with id, value and extensions. The accessor "getRequestId" gives direct access to the value
-
hasRequestIdElement
public boolean hasRequestIdElement()
-
hasRequestId
public boolean hasRequestId()
-
setRequestIdElement
public TestScript.SetupActionOperationComponent setRequestIdElement(IdType value)
- Parameters:
value-requestId(The fixture id (maybe new) to map to the request.). This is the underlying object with id, value and extensions. The accessor "getRequestId" gives direct access to the value
-
getRequestId
public String getRequestId()
- Returns:
- The fixture id (maybe new) to map to the request.
-
setRequestId
public TestScript.SetupActionOperationComponent setRequestId(String value)
- Parameters:
value- The fixture id (maybe new) to map to the request.
-
getResponseIdElement
public IdType getResponseIdElement()
- Returns:
responseId(The fixture id (maybe new) to map to the response.). This is the underlying object with id, value and extensions. The accessor "getResponseId" gives direct access to the value
-
hasResponseIdElement
public boolean hasResponseIdElement()
-
hasResponseId
public boolean hasResponseId()
-
setResponseIdElement
public TestScript.SetupActionOperationComponent setResponseIdElement(IdType value)
- Parameters:
value-responseId(The fixture id (maybe new) to map to the response.). This is the underlying object with id, value and extensions. The accessor "getResponseId" gives direct access to the value
-
getResponseId
public String getResponseId()
- Returns:
- The fixture id (maybe new) to map to the response.
-
setResponseId
public TestScript.SetupActionOperationComponent setResponseId(String value)
- Parameters:
value- The fixture id (maybe new) to map to the response.
-
getSourceIdElement
public IdType getSourceIdElement()
- Returns:
sourceId(The id of the fixture used as the body of a PUT or POST request.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the value
-
hasSourceIdElement
public boolean hasSourceIdElement()
-
hasSourceId
public boolean hasSourceId()
-
setSourceIdElement
public TestScript.SetupActionOperationComponent setSourceIdElement(IdType value)
- Parameters:
value-sourceId(The id of the fixture used as the body of a PUT or POST request.). This is the underlying object with id, value and extensions. The accessor "getSourceId" gives direct access to the value
-
getSourceId
public String getSourceId()
- Returns:
- The id of the fixture used as the body of a PUT or POST request.
-
setSourceId
public TestScript.SetupActionOperationComponent setSourceId(String value)
- Parameters:
value- The id of the fixture used as the body of a PUT or POST request.
-
getTargetIdElement
public IdType getTargetIdElement()
- Returns:
targetId(Id of fixture used for extracting the [id], [type], and [vid] for GET requests.). This is the underlying object with id, value and extensions. The accessor "getTargetId" gives direct access to the value
-
hasTargetIdElement
public boolean hasTargetIdElement()
-
hasTargetId
public boolean hasTargetId()
-
setTargetIdElement
public TestScript.SetupActionOperationComponent setTargetIdElement(IdType value)
- Parameters:
value-targetId(Id of fixture used for extracting the [id], [type], and [vid] for GET requests.). This is the underlying object with id, value and extensions. The accessor "getTargetId" gives direct access to the value
-
getTargetId
public String getTargetId()
- Returns:
- Id of fixture used for extracting the [id], [type], and [vid] for GET requests.
-
setTargetId
public TestScript.SetupActionOperationComponent setTargetId(String value)
- Parameters:
value- Id of fixture used for extracting the [id], [type], and [vid] for GET requests.
-
getUrlElement
public StringType getUrlElement()
- Returns:
url(Complete request URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public TestScript.SetupActionOperationComponent setUrlElement(StringType value)
- Parameters:
value-url(Complete request URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
setUrl
public TestScript.SetupActionOperationComponent setUrl(String value)
- Parameters:
value- Complete request URL.
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public TestScript.SetupActionOperationComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(TestScript.SetupActionOperationComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-