Package org.hl7.fhir.dstu2016may.model
Class TestScript.SetupActionOperationComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.BackboneElement
-
- org.hl7.fhir.dstu2016may.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 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 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 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 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.dstu2016may.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SetupActionOperationComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, 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://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
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.
-
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
-
-
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://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.SetupActionOperationComponent 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.SetupActionOperationComponent 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.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 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.SetupActionOperationComponent 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.SetupActionOperationComponent 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.SetupActionOperationComponent 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.SetupActionOperationComponent 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(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.
-
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.)
-
hasRequestHeader
public boolean hasRequestHeader()
-
addRequestHeader
public TestScript.SetupActionOperationRequestHeaderComponent addRequestHeader()
- Returns:
requestHeader(Header elements would be used to set HTTP headers.)
-
addRequestHeader
public TestScript.SetupActionOperationComponent addRequestHeader(TestScript.SetupActionOperationRequestHeaderComponent 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.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> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
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 void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void 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
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classBackboneElement- Returns:
- 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
-
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
-
-