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
Fields Modifier and Type Field Description protected ContentTypeacceptprotected ContentTypecontentTypeprotected Stringdescriptionprotected Integerdestinationprotected BooleanencodeRequestUrlprotected Stringlabelprotected Integeroriginprotected Stringparamsprotected java.util.List<TestScriptRequestHeader>requestHeaderprotected Coderesourceprotected IdresponseIdprotected IdsourceIdprotected IdtargetIdprotected Codingtypeprotected Stringurl-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TestScriptOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ContentTypegetAccept()Gets the value of the accept property.ContentTypegetContentType()Gets the value of the contentType property.StringgetDescription()Gets the value of the description property.IntegergetDestination()Gets the value of the destination property.BooleangetEncodeRequestUrl()Gets the value of the encodeRequestUrl property.StringgetLabel()Gets the value of the label property.IntegergetOrigin()Gets the value of the origin property.StringgetParams()Gets the value of the params property.java.util.List<TestScriptRequestHeader>getRequestHeader()Gets the value of the requestHeader property.CodegetResource()Gets the value of the resource property.IdgetResponseId()Gets the value of the responseId property.IdgetSourceId()Gets the value of the sourceId property.IdgetTargetId()Gets the value of the targetId property.CodinggetType()Gets the value of the type property.StringgetUrl()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.voidsetLabel(String value)Sets the value of the label property.voidsetOrigin(Integer value)Sets the value of the origin property.voidsetParams(String value)Sets the value of the params property.voidsetResource(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.voidsetType(Coding value)Sets the value of the type property.voidsetUrl(String value)Sets the value of the url property.java.lang.StringtoString()TestScriptOperationwithAccept(ContentType value)TestScriptOperationwithContentType(ContentType value)TestScriptOperationwithDescription(String value)TestScriptOperationwithDestination(Integer value)TestScriptOperationwithEncodeRequestUrl(Boolean value)TestScriptOperationwithExtension(java.util.Collection<Extension> values)TestScriptOperationwithExtension(Extension... values)TestScriptOperationwithId(java.lang.String value)TestScriptOperationwithLabel(String value)TestScriptOperationwithModifierExtension(java.util.Collection<Extension> values)TestScriptOperationwithModifierExtension(Extension... values)TestScriptOperationwithOrigin(Integer value)TestScriptOperationwithParams(String value)TestScriptOperationwithRequestHeader(java.util.Collection<TestScriptRequestHeader> values)TestScriptOperationwithRequestHeader(TestScriptRequestHeader... values)TestScriptOperationwithResource(Code value)TestScriptOperationwithResponseId(Id value)TestScriptOperationwithSourceId(Id value)TestScriptOperationwithTargetId(Id value)TestScriptOperationwithType(Coding value)TestScriptOperationwithUrl(String value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
type
protected Coding type
-
resource
protected Code resource
-
label
protected String label
-
description
protected String description
-
accept
protected ContentType accept
-
contentType
protected ContentType contentType
-
destination
protected Integer destination
-
encodeRequestUrl
protected Boolean encodeRequestUrl
-
origin
protected Integer origin
-
params
protected String params
-
requestHeader
protected java.util.List<TestScriptRequestHeader> requestHeader
-
responseId
protected Id responseId
-
sourceId
protected Id sourceId
-
targetId
protected Id targetId
-
url
protected String url
-
-
Method Detail
-
getType
public Coding getType()
Gets the value of the type property.- Returns:
- possible object is
Coding
-
setType
public void setType(Coding value)
Sets the value of the type property.- Parameters:
value- allowed object isCoding
-
getResource
public Code getResource()
Gets the value of the resource property.- Returns:
- possible object is
Code
-
setResource
public void setResource(Code value)
Sets the value of the resource property.- Parameters:
value- allowed object isCode
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getAccept
public ContentType getAccept()
Gets the value of the accept property.- Returns:
- possible object is
ContentType
-
setAccept
public void setAccept(ContentType value)
Sets the value of the accept property.- Parameters:
value- allowed object isContentType
-
getContentType
public ContentType getContentType()
Gets the value of the contentType property.- Returns:
- possible object is
ContentType
-
setContentType
public void setContentType(ContentType value)
Sets the value of the contentType property.- Parameters:
value- allowed object isContentType
-
getDestination
public Integer getDestination()
Gets the value of the destination property.- Returns:
- possible object is
Integer
-
setDestination
public void setDestination(Integer value)
Sets the value of the destination property.- Parameters:
value- allowed object isInteger
-
getEncodeRequestUrl
public Boolean getEncodeRequestUrl()
Gets the value of the encodeRequestUrl property.- Returns:
- possible object is
Boolean
-
setEncodeRequestUrl
public void setEncodeRequestUrl(Boolean value)
Sets the value of the encodeRequestUrl property.- Parameters:
value- allowed object isBoolean
-
getOrigin
public Integer getOrigin()
Gets the value of the origin property.- Returns:
- possible object is
Integer
-
setOrigin
public void setOrigin(Integer value)
Sets the value of the origin property.- Parameters:
value- allowed object isInteger
-
getParams
public String getParams()
Gets the value of the params property.- Returns:
- possible object is
String
-
setParams
public void setParams(String value)
Sets the value of the params property.- Parameters:
value- allowed object isString
-
getRequestHeader
public java.util.List<TestScriptRequestHeader> 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 JAXB 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
public Id getResponseId()
Gets the value of the responseId property.- Returns:
- possible object is
Id
-
setResponseId
public void setResponseId(Id value)
Sets the value of the responseId property.- Parameters:
value- allowed object isId
-
getSourceId
public Id getSourceId()
Gets the value of the sourceId property.- Returns:
- possible object is
Id
-
setSourceId
public void setSourceId(Id value)
Sets the value of the sourceId property.- Parameters:
value- allowed object isId
-
getTargetId
public Id getTargetId()
Gets the value of the targetId property.- Returns:
- possible object is
Id
-
setTargetId
public void setTargetId(Id value)
Sets the value of the targetId property.- Parameters:
value- allowed object isId
-
getUrl
public String getUrl()
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
public void setUrl(String value)
Sets the value of the url property.- Parameters:
value- allowed object isString
-
withType
public TestScriptOperation withType(Coding value)
-
withResource
public TestScriptOperation withResource(Code value)
-
withLabel
public TestScriptOperation withLabel(String value)
-
withDescription
public TestScriptOperation withDescription(String value)
-
withAccept
public TestScriptOperation withAccept(ContentType value)
-
withContentType
public TestScriptOperation withContentType(ContentType value)
-
withDestination
public TestScriptOperation withDestination(Integer value)
-
withEncodeRequestUrl
public TestScriptOperation withEncodeRequestUrl(Boolean value)
-
withOrigin
public TestScriptOperation withOrigin(Integer value)
-
withParams
public TestScriptOperation withParams(String value)
-
withRequestHeader
public TestScriptOperation withRequestHeader(TestScriptRequestHeader... values)
-
withRequestHeader
public TestScriptOperation withRequestHeader(java.util.Collection<TestScriptRequestHeader> values)
-
withResponseId
public TestScriptOperation withResponseId(Id value)
-
withSourceId
public TestScriptOperation withSourceId(Id value)
-
withTargetId
public TestScriptOperation withTargetId(Id value)
-
withUrl
public TestScriptOperation withUrl(String value)
-
withModifierExtension
public TestScriptOperation withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public TestScriptOperation withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public TestScriptOperation withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public TestScriptOperation withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public TestScriptOperation withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- 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
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-