Class TestScript
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.TestScript
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TestScript extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for TestScript complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TestScript"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="url" type="{http://hl7.org/fhir}uri"/> <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="name" type="{http://hl7.org/fhir}string"/> <element name="status" type="{http://hl7.org/fhir}ConformanceResourceStatus"/> <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/> <element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="contact" type="{http://hl7.org/fhir}TestScript.Contact" maxOccurs="unbounded" minOccurs="0"/> <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="useContext" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="copyright" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="origin" type="{http://hl7.org/fhir}TestScript.Origin" maxOccurs="unbounded" minOccurs="0"/> <element name="destination" type="{http://hl7.org/fhir}TestScript.Destination" maxOccurs="unbounded" minOccurs="0"/> <element name="metadata" type="{http://hl7.org/fhir}TestScript.Metadata" minOccurs="0"/> <element name="fixture" type="{http://hl7.org/fhir}TestScript.Fixture" maxOccurs="unbounded" minOccurs="0"/> <element name="profile" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> <element name="variable" type="{http://hl7.org/fhir}TestScript.Variable" maxOccurs="unbounded" minOccurs="0"/> <element name="rule" type="{http://hl7.org/fhir}TestScript.Rule" maxOccurs="unbounded" minOccurs="0"/> <element name="ruleset" type="{http://hl7.org/fhir}TestScript.Ruleset" maxOccurs="unbounded" minOccurs="0"/> <element name="setup" type="{http://hl7.org/fhir}TestScript.Setup" minOccurs="0"/> <element name="test" type="{http://hl7.org/fhir}TestScript.Test" maxOccurs="unbounded" minOccurs="0"/> <element name="teardown" type="{http://hl7.org/fhir}TestScript.Teardown" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<TestScriptContact>contactprotected Stringcopyrightprotected DateTimedateprotected Stringdescriptionprotected java.util.List<TestScriptDestination>destinationprotected Booleanexperimentalprotected java.util.List<TestScriptFixture>fixtureprotected Identifieridentifierprotected TestScriptMetadatametadataprotected Stringnameprotected java.util.List<TestScriptOrigin>originprotected java.util.List<Reference>profileprotected Stringpublisherprotected Stringrequirementsprotected java.util.List<TestScriptRule>ruleprotected java.util.List<TestScriptRuleset>rulesetprotected TestScriptSetupsetupprotected ConformanceResourceStatusstatusprotected TestScriptTeardownteardownprotected java.util.List<TestScriptTest>testprotected Uriurlprotected java.util.List<CodeableConcept>useContextprotected java.util.List<TestScriptVariable>variableprotected Stringversion-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description TestScript()
-
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)java.util.List<TestScriptContact>getContact()Gets the value of the contact property.StringgetCopyright()Gets the value of the copyright property.DateTimegetDate()Gets the value of the date property.StringgetDescription()Gets the value of the description property.java.util.List<TestScriptDestination>getDestination()Gets the value of the destination property.BooleangetExperimental()Gets the value of the experimental property.java.util.List<TestScriptFixture>getFixture()Gets the value of the fixture property.IdentifiergetIdentifier()Gets the value of the identifier property.TestScriptMetadatagetMetadata()Gets the value of the metadata property.StringgetName()Gets the value of the name property.java.util.List<TestScriptOrigin>getOrigin()Gets the value of the origin property.java.util.List<Reference>getProfile()Gets the value of the profile property.StringgetPublisher()Gets the value of the publisher property.StringgetRequirements()Gets the value of the requirements property.java.util.List<TestScriptRule>getRule()Gets the value of the rule property.java.util.List<TestScriptRuleset>getRuleset()Gets the value of the ruleset property.TestScriptSetupgetSetup()Gets the value of the setup property.ConformanceResourceStatusgetStatus()Gets the value of the status property.TestScriptTeardowngetTeardown()Gets the value of the teardown property.java.util.List<TestScriptTest>getTest()Gets the value of the test property.UrigetUrl()Gets the value of the url property.java.util.List<CodeableConcept>getUseContext()Gets the value of the useContext property.java.util.List<TestScriptVariable>getVariable()Gets the value of the variable property.StringgetVersion()Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCopyright(String value)Sets the value of the copyright property.voidsetDate(DateTime value)Sets the value of the date property.voidsetDescription(String value)Sets the value of the description property.voidsetExperimental(Boolean value)Sets the value of the experimental property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetMetadata(TestScriptMetadata value)Sets the value of the metadata property.voidsetName(String value)Sets the value of the name property.voidsetPublisher(String value)Sets the value of the publisher property.voidsetRequirements(String value)Sets the value of the requirements property.voidsetSetup(TestScriptSetup value)Sets the value of the setup property.voidsetStatus(ConformanceResourceStatus value)Sets the value of the status property.voidsetTeardown(TestScriptTeardown value)Sets the value of the teardown property.voidsetUrl(Uri value)Sets the value of the url property.voidsetVersion(String value)Sets the value of the version property.java.lang.StringtoString()TestScriptwithContact(java.util.Collection<TestScriptContact> values)TestScriptwithContact(TestScriptContact... values)TestScriptwithContained(java.util.Collection<ResourceContainer> values)TestScriptwithContained(ResourceContainer... values)TestScriptwithCopyright(String value)TestScriptwithDate(DateTime value)TestScriptwithDescription(String value)TestScriptwithDestination(java.util.Collection<TestScriptDestination> values)TestScriptwithDestination(TestScriptDestination... values)TestScriptwithExperimental(Boolean value)TestScriptwithExtension(java.util.Collection<Extension> values)TestScriptwithExtension(Extension... values)TestScriptwithFixture(java.util.Collection<TestScriptFixture> values)TestScriptwithFixture(TestScriptFixture... values)TestScriptwithId(Id value)TestScriptwithIdentifier(Identifier value)TestScriptwithImplicitRules(Uri value)TestScriptwithLanguage(Code value)TestScriptwithMeta(Meta value)TestScriptwithMetadata(TestScriptMetadata value)TestScriptwithModifierExtension(java.util.Collection<Extension> values)TestScriptwithModifierExtension(Extension... values)TestScriptwithName(String value)TestScriptwithOrigin(java.util.Collection<TestScriptOrigin> values)TestScriptwithOrigin(TestScriptOrigin... values)TestScriptwithProfile(java.util.Collection<Reference> values)TestScriptwithProfile(Reference... values)TestScriptwithPublisher(String value)TestScriptwithRequirements(String value)TestScriptwithRule(java.util.Collection<TestScriptRule> values)TestScriptwithRule(TestScriptRule... values)TestScriptwithRuleset(java.util.Collection<TestScriptRuleset> values)TestScriptwithRuleset(TestScriptRuleset... values)TestScriptwithSetup(TestScriptSetup value)TestScriptwithStatus(ConformanceResourceStatus value)TestScriptwithTeardown(TestScriptTeardown value)TestScriptwithTest(java.util.Collection<TestScriptTest> values)TestScriptwithTest(TestScriptTest... values)TestScriptwithText(Narrative value)TestScriptwithUrl(Uri value)TestScriptwithUseContext(java.util.Collection<CodeableConcept> values)TestScriptwithUseContext(CodeableConcept... values)TestScriptwithVariable(java.util.Collection<TestScriptVariable> values)TestScriptwithVariable(TestScriptVariable... values)TestScriptwithVersion(String value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
url
protected Uri url
-
version
protected String version
-
name
protected String name
-
status
protected ConformanceResourceStatus status
-
identifier
protected Identifier identifier
-
experimental
protected Boolean experimental
-
publisher
protected String publisher
-
contact
protected java.util.List<TestScriptContact> contact
-
date
protected DateTime date
-
description
protected String description
-
useContext
protected java.util.List<CodeableConcept> useContext
-
requirements
protected String requirements
-
copyright
protected String copyright
-
origin
protected java.util.List<TestScriptOrigin> origin
-
destination
protected java.util.List<TestScriptDestination> destination
-
metadata
protected TestScriptMetadata metadata
-
fixture
protected java.util.List<TestScriptFixture> fixture
-
profile
protected java.util.List<Reference> profile
-
variable
protected java.util.List<TestScriptVariable> variable
-
rule
protected java.util.List<TestScriptRule> rule
-
ruleset
protected java.util.List<TestScriptRuleset> ruleset
-
setup
protected TestScriptSetup setup
-
test
protected java.util.List<TestScriptTest> test
-
teardown
protected TestScriptTeardown teardown
-
-
Method Detail
-
setUrl
public void setUrl(Uri value)
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getStatus
public ConformanceResourceStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ConformanceResourceStatus
-
setStatus
public void setStatus(ConformanceResourceStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isConformanceResourceStatus
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getExperimental
public Boolean getExperimental()
Gets the value of the experimental property.- Returns:
- possible object is
Boolean
-
setExperimental
public void setExperimental(Boolean value)
Sets the value of the experimental property.- Parameters:
value- allowed object isBoolean
-
getPublisher
public String getPublisher()
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
public void setPublisher(String value)
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
public java.util.List<TestScriptContact> getContact()
Gets the value of the contact 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 contact property.For example, to add a new item, do as follows:
getContact().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptContact
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
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
-
getUseContext
public java.util.List<CodeableConcept> getUseContext()
Gets the value of the useContext 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 useContext property.For example, to add a new item, do as follows:
getUseContext().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getRequirements
public String getRequirements()
Gets the value of the requirements property.- Returns:
- possible object is
String
-
setRequirements
public void setRequirements(String value)
Sets the value of the requirements property.- Parameters:
value- allowed object isString
-
getCopyright
public String getCopyright()
Gets the value of the copyright property.- Returns:
- possible object is
String
-
setCopyright
public void setCopyright(String value)
Sets the value of the copyright property.- Parameters:
value- allowed object isString
-
getOrigin
public java.util.List<TestScriptOrigin> getOrigin()
Gets the value of the origin 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 origin property.For example, to add a new item, do as follows:
getOrigin().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptOrigin
-
getDestination
public java.util.List<TestScriptDestination> getDestination()
Gets the value of the destination 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 destination property.For example, to add a new item, do as follows:
getDestination().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptDestination
-
getMetadata
public TestScriptMetadata getMetadata()
Gets the value of the metadata property.- Returns:
- possible object is
TestScriptMetadata
-
setMetadata
public void setMetadata(TestScriptMetadata value)
Sets the value of the metadata property.- Parameters:
value- allowed object isTestScriptMetadata
-
getFixture
public java.util.List<TestScriptFixture> getFixture()
Gets the value of the fixture 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 fixture property.For example, to add a new item, do as follows:
getFixture().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptFixture
-
getProfile
public java.util.List<Reference> getProfile()
Gets the value of the profile 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 profile property.For example, to add a new item, do as follows:
getProfile().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
getVariable
public java.util.List<TestScriptVariable> getVariable()
Gets the value of the variable 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 variable property.For example, to add a new item, do as follows:
getVariable().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptVariable
-
getRule
public java.util.List<TestScriptRule> getRule()
Gets the value of the rule 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 rule property.For example, to add a new item, do as follows:
getRule().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptRule
-
getRuleset
public java.util.List<TestScriptRuleset> getRuleset()
Gets the value of the ruleset 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 ruleset property.For example, to add a new item, do as follows:
getRuleset().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptRuleset
-
getSetup
public TestScriptSetup getSetup()
Gets the value of the setup property.- Returns:
- possible object is
TestScriptSetup
-
setSetup
public void setSetup(TestScriptSetup value)
Sets the value of the setup property.- Parameters:
value- allowed object isTestScriptSetup
-
getTest
public java.util.List<TestScriptTest> getTest()
Gets the value of the test 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 test property.For example, to add a new item, do as follows:
getTest().add(newItem);Objects of the following type(s) are allowed in the list
TestScriptTest
-
getTeardown
public TestScriptTeardown getTeardown()
Gets the value of the teardown property.- Returns:
- possible object is
TestScriptTeardown
-
setTeardown
public void setTeardown(TestScriptTeardown value)
Sets the value of the teardown property.- Parameters:
value- allowed object isTestScriptTeardown
-
withUrl
public TestScript withUrl(Uri value)
-
withVersion
public TestScript withVersion(String value)
-
withName
public TestScript withName(String value)
-
withStatus
public TestScript withStatus(ConformanceResourceStatus value)
-
withIdentifier
public TestScript withIdentifier(Identifier value)
-
withExperimental
public TestScript withExperimental(Boolean value)
-
withPublisher
public TestScript withPublisher(String value)
-
withContact
public TestScript withContact(TestScriptContact... values)
-
withContact
public TestScript withContact(java.util.Collection<TestScriptContact> values)
-
withDate
public TestScript withDate(DateTime value)
-
withDescription
public TestScript withDescription(String value)
-
withUseContext
public TestScript withUseContext(CodeableConcept... values)
-
withUseContext
public TestScript withUseContext(java.util.Collection<CodeableConcept> values)
-
withRequirements
public TestScript withRequirements(String value)
-
withCopyright
public TestScript withCopyright(String value)
-
withOrigin
public TestScript withOrigin(TestScriptOrigin... values)
-
withOrigin
public TestScript withOrigin(java.util.Collection<TestScriptOrigin> values)
-
withDestination
public TestScript withDestination(TestScriptDestination... values)
-
withDestination
public TestScript withDestination(java.util.Collection<TestScriptDestination> values)
-
withMetadata
public TestScript withMetadata(TestScriptMetadata value)
-
withFixture
public TestScript withFixture(TestScriptFixture... values)
-
withFixture
public TestScript withFixture(java.util.Collection<TestScriptFixture> values)
-
withProfile
public TestScript withProfile(Reference... values)
-
withProfile
public TestScript withProfile(java.util.Collection<Reference> values)
-
withVariable
public TestScript withVariable(TestScriptVariable... values)
-
withVariable
public TestScript withVariable(java.util.Collection<TestScriptVariable> values)
-
withRule
public TestScript withRule(TestScriptRule... values)
-
withRule
public TestScript withRule(java.util.Collection<TestScriptRule> values)
-
withRuleset
public TestScript withRuleset(TestScriptRuleset... values)
-
withRuleset
public TestScript withRuleset(java.util.Collection<TestScriptRuleset> values)
-
withSetup
public TestScript withSetup(TestScriptSetup value)
-
withTest
public TestScript withTest(TestScriptTest... values)
-
withTest
public TestScript withTest(java.util.Collection<TestScriptTest> values)
-
withTeardown
public TestScript withTeardown(TestScriptTeardown value)
-
withText
public TestScript withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public TestScript withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public TestScript withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public TestScript withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public TestScript withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public TestScript withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public TestScript withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public TestScript withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public TestScript withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public TestScript withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public TestScript withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
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 classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
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 classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
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 classDomainResource
-
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 classDomainResource
-
-