Package org.hl7.fhir
Class TestScriptOperation
java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.BackboneElement
org.hl7.fhir.TestScriptOperation
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TestScriptOperation
extends BackboneElement
implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification.
Java class for TestScript.Operation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TestScript.Operation">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="type" type="{http://hl7.org/fhir}Coding" minOccurs="0"/>
<element name="resource" type="{http://hl7.org/fhir}code" minOccurs="0"/>
<element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="accept" type="{http://hl7.org/fhir}ContentType" minOccurs="0"/>
<element name="contentType" type="{http://hl7.org/fhir}ContentType" minOccurs="0"/>
<element name="destination" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="encodeRequestUrl" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="origin" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
<element name="params" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="requestHeader" type="{http://hl7.org/fhir}TestScript.RequestHeader" maxOccurs="unbounded" minOccurs="0"/>
<element name="responseId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
<element name="sourceId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
<element name="targetId" type="{http://hl7.org/fhir}id" minOccurs="0"/>
<element name="url" type="{http://hl7.org/fhir}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContentTypeprotected ContentTypeprotected Stringprotected Integerprotected Booleanprotected Stringprotected Integerprotected Stringprotected List<TestScriptRequestHeader> protected Codeprotected Idprotected Idprotected Idprotected Codingprotected StringFields inherited from class org.hl7.fhir.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the accept property.Gets the value of the contentType property.Gets the value of the description property.Gets the value of the destination property.Gets the value of the encodeRequestUrl property.getLabel()Gets the value of the label property.Gets the value of the origin property.Gets the value of the params property.Gets the value of the requestHeader property.Gets the value of the resource property.Gets the value of the responseId property.Gets the value of the sourceId property.Gets the value of the targetId property.getType()Gets the value of the type property.getUrl()Gets the value of the url property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAccept(ContentType value) Sets the value of the accept property.voidsetContentType(ContentType value) Sets the value of the contentType property.voidsetDescription(String value) Sets the value of the description property.voidsetDestination(Integer value) Sets the value of the destination property.voidsetEncodeRequestUrl(Boolean value) Sets the value of the encodeRequestUrl property.voidSets the value of the label property.voidSets the value of the origin property.voidSets the value of the params property.voidvoidsetResource(Code value) Sets the value of the resource property.voidsetResponseId(Id value) Sets the value of the responseId property.voidsetSourceId(Id value) Sets the value of the sourceId property.voidsetTargetId(Id value) Sets the value of the targetId property.voidSets the value of the type property.voidSets the value of the url property.toString()withAccept(ContentType value) withContentType(ContentType value) withDescription(String value) withDestination(Integer value) withEncodeRequestUrl(Boolean value) withExtension(Collection<Extension> values) withExtension(Extension... values) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOrigin(Integer value) withParams(String value) withRequestHeader(TestScriptRequestHeader... values) withResource(Code value) withResponseId(Id value) withSourceId(Id value) withTargetId(Id value) Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.Element
getExtension, getId, setExtension, setId
-
Field Details
-
type
-
resource
-
label
-
description
-
accept
-
contentType
-
destination
-
encodeRequestUrl
-
origin
-
params
-
requestHeader
-
responseId
-
sourceId
-
targetId
-
url
-
-
Constructor Details
-
TestScriptOperation
public TestScriptOperation()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
Coding
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCoding
-
getResource
Gets the value of the resource property.- Returns:
- possible object is
Code
-
setResource
Sets the value of the resource property.- Parameters:
value- allowed object isCode
-
getLabel
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getAccept
Gets the value of the accept property.- Returns:
- possible object is
ContentType
-
setAccept
Sets the value of the accept property.- Parameters:
value- allowed object isContentType
-
getContentType
Gets the value of the contentType property.- Returns:
- possible object is
ContentType
-
setContentType
Sets the value of the contentType property.- Parameters:
value- allowed object isContentType
-
getDestination
Gets the value of the destination property.- Returns:
- possible object is
Integer
-
setDestination
Sets the value of the destination property.- Parameters:
value- allowed object isInteger
-
getEncodeRequestUrl
Gets the value of the encodeRequestUrl property.- Returns:
- possible object is
Boolean
-
setEncodeRequestUrl
Sets the value of the encodeRequestUrl property.- Parameters:
value- allowed object isBoolean
-
getOrigin
Gets the value of the origin property.- Returns:
- possible object is
Integer
-
setOrigin
Sets the value of the origin property.- Parameters:
value- allowed object isInteger
-
getParams
Gets the value of the params property.- Returns:
- possible object is
String
-
setParams
Sets the value of the params property.- Parameters:
value- allowed object isString
-
getRequestHeader
Gets the value of the requestHeader property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the requestHeader property.For example, to add a new item, do as follows:
getRequestHeader().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptRequestHeader -
getResponseId
Gets the value of the responseId property.- Returns:
- possible object is
Id
-
setResponseId
Sets the value of the responseId property.- Parameters:
value- allowed object isId
-
getSourceId
Gets the value of the sourceId property.- Returns:
- possible object is
Id
-
setSourceId
Sets the value of the sourceId property.- Parameters:
value- allowed object isId
-
getTargetId
Gets the value of the targetId property.- Returns:
- possible object is
Id
-
setTargetId
Sets the value of the targetId property.- Parameters:
value- allowed object isId
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isString
-
withType
-
withResource
-
withLabel
-
withDescription
-
withAccept
-
withContentType
-
withDestination
-
withEncodeRequestUrl
-
withOrigin
-
withParams
-
withRequestHeader
-
withRequestHeader
-
withResponseId
-
withSourceId
-
withTargetId
-
withUrl
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withExtension
- Overrides:
withExtensionin classBackboneElement
-
withId
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()- Overrides:
hashCodein classBackboneElement
-
toString
- Overrides:
toStringin classBackboneElement
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
setRequestHeader
-