public static class TestScript.SetupActionOperationComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected CodeType |
accept
The mime-type to use for RESTful operation in the 'Accept' header.
|
protected CodeType |
contentType
The mime-type to use for RESTful operation in the 'Content-Type' header.
|
protected StringType |
description
The description would be used by test engines for tracking and reporting purposes.
|
protected IntegerType |
destination
The server where the request message is destined for.
|
protected BooleanType |
encodeRequestUrl
Whether or not to implicitly send the request url in encoded format.
|
protected StringType |
label
The label would be used for tracking/logging purposes by test engines.
|
protected Enumeration<TestScript.TestScriptRequestMethodCode> |
method
The HTTP method the test engine MUST use for this operation regardless of any other operation details.
|
protected IntegerType |
origin
The server where the request message originates from.
|
protected StringType |
params
Path plus parameters after [type].
|
protected List<TestScript.SetupActionOperationRequestHeaderComponent> |
requestHeader
Header elements would be used to set HTTP headers.
|
protected IdType |
requestId
The fixture id (maybe new) to map to the request.
|
protected CodeType |
resource
The type of the resource.
|
protected IdType |
responseId
The fixture id (maybe new) to map to the response.
|
protected IdType |
sourceId
The id of the fixture used as the body of a PUT or POST request.
|
protected IdType |
targetId
Id of fixture used for extracting the [id], [type], and [vid] for GET requests.
|
protected Coding |
type
Server interaction or operation type.
|
protected StringType |
url
Complete request URL.
|
modifierExtension| Constructor and Description |
|---|
SetupActionOperationComponent()
Constructor
|
SetupActionOperationComponent(BooleanType encodeRequestUrl)
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected CodeType resource
protected StringType label
protected StringType description
protected CodeType contentType
protected IntegerType destination
protected BooleanType encodeRequestUrl
protected Enumeration<TestScript.TestScriptRequestMethodCode> method
protected IntegerType origin
protected StringType params
protected List<TestScript.SetupActionOperationRequestHeaderComponent> requestHeader
protected IdType responseId
protected IdType targetId
protected StringType url
public SetupActionOperationComponent()
public SetupActionOperationComponent(BooleanType encodeRequestUrl)
public boolean hasType()
public TestScript.SetupActionOperationComponent setType(Coding value)
value - type (Server interaction or operation type.)public CodeType getResourceElement()
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 valuepublic boolean hasResourceElement()
public boolean hasResource()
public TestScript.SetupActionOperationComponent setResourceElement(CodeType value)
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 valuepublic String getResource()
public TestScript.SetupActionOperationComponent setResource(String value)
value - The type of the resource. See http://build.fhir.org/resourcelist.html.public StringType getLabelElement()
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 valuepublic boolean hasLabelElement()
public boolean hasLabel()
public TestScript.SetupActionOperationComponent setLabelElement(StringType value)
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 valuepublic String getLabel()
public TestScript.SetupActionOperationComponent setLabel(String value)
value - The label would be used for tracking/logging purposes by test engines.public StringType getDescriptionElement()
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 valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public TestScript.SetupActionOperationComponent setDescriptionElement(StringType value)
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 valuepublic String getDescription()
public TestScript.SetupActionOperationComponent setDescription(String value)
value - The description would be used by test engines for tracking and reporting purposes.public CodeType getAcceptElement()
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 valuepublic boolean hasAcceptElement()
public boolean hasAccept()
public TestScript.SetupActionOperationComponent setAcceptElement(CodeType value)
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 valuepublic String getAccept()
public TestScript.SetupActionOperationComponent setAccept(String value)
value - The mime-type to use for RESTful operation in the 'Accept' header.public CodeType getContentTypeElement()
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 valuepublic boolean hasContentTypeElement()
public boolean hasContentType()
public TestScript.SetupActionOperationComponent setContentTypeElement(CodeType value)
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 valuepublic String getContentType()
public TestScript.SetupActionOperationComponent setContentType(String value)
value - The mime-type to use for RESTful operation in the 'Content-Type' header.public IntegerType getDestinationElement()
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 valuepublic boolean hasDestinationElement()
public boolean hasDestination()
public TestScript.SetupActionOperationComponent setDestinationElement(IntegerType value)
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 valuepublic int getDestination()
public TestScript.SetupActionOperationComponent setDestination(int value)
value - The server where the request message is destined for. Must be one of the server numbers listed in TestScript.destination section.public BooleanType getEncodeRequestUrlElement()
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 valuepublic boolean hasEncodeRequestUrlElement()
public boolean hasEncodeRequestUrl()
public TestScript.SetupActionOperationComponent setEncodeRequestUrlElement(BooleanType value)
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 valuepublic boolean getEncodeRequestUrl()
public TestScript.SetupActionOperationComponent setEncodeRequestUrl(boolean value)
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.public Enumeration<TestScript.TestScriptRequestMethodCode> getMethodElement()
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 valuepublic boolean hasMethodElement()
public boolean hasMethod()
public TestScript.SetupActionOperationComponent setMethodElement(Enumeration<TestScript.TestScriptRequestMethodCode> value)
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 valuepublic TestScript.TestScriptRequestMethodCode getMethod()
public TestScript.SetupActionOperationComponent setMethod(TestScript.TestScriptRequestMethodCode value)
value - The HTTP method the test engine MUST use for this operation regardless of any other operation details.public IntegerType getOriginElement()
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 valuepublic boolean hasOriginElement()
public boolean hasOrigin()
public TestScript.SetupActionOperationComponent setOriginElement(IntegerType value)
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 valuepublic int getOrigin()
public TestScript.SetupActionOperationComponent setOrigin(int value)
value - The server where the request message originates from. Must be one of the server numbers listed in TestScript.origin section.public StringType getParamsElement()
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 valuepublic boolean hasParamsElement()
public boolean hasParams()
public TestScript.SetupActionOperationComponent setParamsElement(StringType value)
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 valuepublic String getParams()
public TestScript.SetupActionOperationComponent setParams(String value)
value - Path plus parameters after [type]. Used to set parts of the request URL explicitly.public List<TestScript.SetupActionOperationRequestHeaderComponent> getRequestHeader()
requestHeader (Header elements would be used to set HTTP headers.)public TestScript.SetupActionOperationComponent setRequestHeader(List<TestScript.SetupActionOperationRequestHeaderComponent> theRequestHeader)
this for easy method chainingpublic boolean hasRequestHeader()
public TestScript.SetupActionOperationRequestHeaderComponent addRequestHeader()
public TestScript.SetupActionOperationComponent addRequestHeader(TestScript.SetupActionOperationRequestHeaderComponent t)
public TestScript.SetupActionOperationRequestHeaderComponent getRequestHeaderFirstRep()
requestHeader, creating it if it does not already existpublic IdType getRequestIdElement()
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 valuepublic boolean hasRequestIdElement()
public boolean hasRequestId()
public TestScript.SetupActionOperationComponent setRequestIdElement(IdType value)
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 valuepublic String getRequestId()
public TestScript.SetupActionOperationComponent setRequestId(String value)
value - The fixture id (maybe new) to map to the request.public IdType getResponseIdElement()
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 valuepublic boolean hasResponseIdElement()
public boolean hasResponseId()
public TestScript.SetupActionOperationComponent setResponseIdElement(IdType value)
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 valuepublic String getResponseId()
public TestScript.SetupActionOperationComponent setResponseId(String value)
value - The fixture id (maybe new) to map to the response.public IdType getSourceIdElement()
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 valuepublic boolean hasSourceIdElement()
public boolean hasSourceId()
public TestScript.SetupActionOperationComponent setSourceIdElement(IdType value)
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 valuepublic String getSourceId()
public TestScript.SetupActionOperationComponent setSourceId(String value)
value - The id of the fixture used as the body of a PUT or POST request.public IdType getTargetIdElement()
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 valuepublic boolean hasTargetIdElement()
public boolean hasTargetId()
public TestScript.SetupActionOperationComponent setTargetIdElement(IdType value)
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 valuepublic String getTargetId()
public TestScript.SetupActionOperationComponent setTargetId(String value)
value - Id of fixture used for extracting the [id], [type], and [vid] for GET requests.public StringType getUrlElement()
url (Complete request URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public TestScript.SetupActionOperationComponent setUrlElement(StringType value)
value - url (Complete request URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic TestScript.SetupActionOperationComponent setUrl(String value)
value - Complete request URL.protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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.SetupActionOperationComponent copy()
copy in class BackboneElementpublic void copyValues(TestScript.SetupActionOperationComponent dst)
public 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.