Package org.hl7.fhir.dstu2.model
Class TestScript.TestScriptSetupActionOperationComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.TestScript.TestScriptSetupActionOperationComponent
-
- 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.TestScriptSetupActionOperationComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<TestScript.ContentType>acceptThe content-type or mime-type to use for RESTful operation in the 'Accept' header.protected Enumeration<TestScript.ContentType>contentTypeThe content-type or 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 IntegerTypedestinationWhich server to perform the operation on.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 StringTypeparamsPath plus parameters after [type].protected List<TestScript.TestScriptSetupActionOperationRequestHeaderComponent>requestHeaderHeader elements would be used to set HTTP headers.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.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TestScriptSetupActionOperationComponent()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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://hl7-fhir.github.io/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.
-
accept
protected Enumeration<TestScript.ContentType> accept
The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
contentType
protected Enumeration<TestScript.ContentType> contentType
The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
destination
protected IntegerType destination
Which server to perform the operation on.
-
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.
-
params
protected StringType params
Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
requestHeader
protected List<TestScript.TestScriptSetupActionOperationRequestHeaderComponent> 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
-
TestScriptSetupActionOperationComponent
public TestScriptSetupActionOperationComponent()
-
-
Method Detail
-
hasType
public boolean hasType()
-
setType
public TestScript.TestScriptSetupActionOperationComponent setType(Coding value)
- Parameters:
value-type(Server interaction or operation type.)
-
getResourceElement
public CodeType getResourceElement()
- Returns:
resource(The type of the resource. See http://hl7-fhir.github.io/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.TestScriptSetupActionOperationComponent setResourceElement(CodeType value)
- Parameters:
value-resource(The type of the resource. See http://hl7-fhir.github.io/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://hl7-fhir.github.io/resourcelist.html.
-
setResource
public TestScript.TestScriptSetupActionOperationComponent setResource(String value)
- Parameters:
value- The type of the resource. See http://hl7-fhir.github.io/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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent setDescription(String value)
- Parameters:
value- The description would be used by test engines for tracking and reporting purposes.
-
getAcceptElement
public Enumeration<TestScript.ContentType> getAcceptElement()
- Returns:
accept(The content-type or 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.TestScriptSetupActionOperationComponent setAcceptElement(Enumeration<TestScript.ContentType> value)
- Parameters:
value-accept(The content-type or 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 TestScript.ContentType getAccept()
- Returns:
- The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
setAccept
public TestScript.TestScriptSetupActionOperationComponent setAccept(TestScript.ContentType value)
- Parameters:
value- The content-type or mime-type to use for RESTful operation in the 'Accept' header.
-
getContentTypeElement
public Enumeration<TestScript.ContentType> getContentTypeElement()
- Returns:
contentType(The content-type or 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.TestScriptSetupActionOperationComponent setContentTypeElement(Enumeration<TestScript.ContentType> value)
- Parameters:
value-contentType(The content-type or 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 TestScript.ContentType getContentType()
- Returns:
- The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
setContentType
public TestScript.TestScriptSetupActionOperationComponent setContentType(TestScript.ContentType value)
- Parameters:
value- The content-type or mime-type to use for RESTful operation in the 'Content-Type' header.
-
getDestinationElement
public IntegerType getDestinationElement()
- Returns:
destination(Which server to perform the operation on.). 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.TestScriptSetupActionOperationComponent setDestinationElement(IntegerType value)
- Parameters:
value-destination(Which server to perform the operation on.). This is the underlying object with id, value and extensions. The accessor "getDestination" gives direct access to the value
-
getDestination
public int getDestination()
- Returns:
- Which server to perform the operation on.
-
setDestination
public TestScript.TestScriptSetupActionOperationComponent setDestination(int value)
- Parameters:
value- Which server to perform the operation on.
-
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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.
-
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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent setParams(String value)
- Parameters:
value- Path plus parameters after [type]. Used to set parts of the request URL explicitly.
-
getRequestHeader
public List<TestScript.TestScriptSetupActionOperationRequestHeaderComponent> getRequestHeader()
- Returns:
requestHeader(Header elements would be used to set HTTP headers.)
-
hasRequestHeader
public boolean hasRequestHeader()
-
addRequestHeader
public TestScript.TestScriptSetupActionOperationRequestHeaderComponent addRequestHeader()
- Returns:
requestHeader(Header elements would be used to set HTTP headers.)
-
addRequestHeader
public TestScript.TestScriptSetupActionOperationComponent addRequestHeader(TestScript.TestScriptSetupActionOperationRequestHeaderComponent t)
-
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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent 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.TestScriptSetupActionOperationComponent setUrl(String value)
- Parameters:
value- Complete request URL.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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.TestScriptSetupActionOperationComponent copy()
- Specified by:
copyin classBackboneElement
-
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
-
-