public class TestScript extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_DESCRIPTION |
static String |
SP_IDENTIFIER |
static String |
SP_NAME |
static String |
SP_TESTSCRIPTCAPABILITY |
static String |
SP_TESTSCRIPTSETUPCAPABILITY |
static String |
SP_TESTSCRIPTTESTCAPABILITY |
static String |
SP_URL |
| Constructor and Description |
|---|
TestScript() |
TestScript(UriType url,
StringType name,
Enumeration<Enumerations.ConformanceResourceStatus> status) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_IDENTIFIER
public static final String SP_TESTSCRIPTTESTCAPABILITY
public static final String SP_TESTSCRIPTSETUPCAPABILITY
public static final String SP_NAME
public static final String SP_DESCRIPTION
public static final String SP_TESTSCRIPTCAPABILITY
public static final String SP_URL
public TestScript()
public TestScript(UriType url, StringType name, Enumeration<Enumerations.ConformanceResourceStatus> status)
public UriType getUrlElement()
url (An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public TestScript setUrlElement(UriType value)
value - url (An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic String getUrl()
public TestScript setUrl(String value)
value - An absolute URL that is used to identify this Test Script. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this Test Script is (or will be) published.public StringType getVersionElement()
version (The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic boolean hasVersionElement()
public boolean hasVersion()
public TestScript setVersionElement(StringType value)
value - version (The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.). This is the underlying object with id, value and extensions. The accessor "getVersion" gives direct access to the valuepublic String getVersion()
public TestScript setVersion(String value)
value - The identifier that is used to identify this version of the TestScript. This is an arbitrary value managed by the TestScript author manually.public StringType getNameElement()
name (A free text natural language name identifying the TestScript.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public TestScript setNameElement(StringType value)
value - name (A free text natural language name identifying the TestScript.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public TestScript setName(String value)
value - A free text natural language name identifying the TestScript.public Enumeration<Enumerations.ConformanceResourceStatus> getStatusElement()
status (The status of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public TestScript setStatusElement(Enumeration<Enumerations.ConformanceResourceStatus> value)
value - status (The status of the TestScript.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Enumerations.ConformanceResourceStatus getStatus()
public TestScript setStatus(Enumerations.ConformanceResourceStatus value)
value - The status of the TestScript.public Identifier getIdentifier()
identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public boolean hasIdentifier()
public TestScript setIdentifier(Identifier value)
value - identifier (Identifier for the TestScript assigned for external purposes outside the context of FHIR.)public BooleanType getExperimentalElement()
experimental (This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the valuepublic boolean hasExperimentalElement()
public boolean hasExperimental()
public TestScript setExperimentalElement(BooleanType value)
value - experimental (This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.). This is the underlying object with id, value and extensions. The accessor "getExperimental" gives direct access to the valuepublic boolean getExperimental()
public TestScript setExperimental(boolean value)
value - This TestScript was authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.public StringType getPublisherElement()
publisher (The name of the individual or organization that published the Test Script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic boolean hasPublisherElement()
public boolean hasPublisher()
public TestScript setPublisherElement(StringType value)
value - publisher (The name of the individual or organization that published the Test Script.). This is the underlying object with id, value and extensions. The accessor "getPublisher" gives direct access to the valuepublic String getPublisher()
public TestScript setPublisher(String value)
value - The name of the individual or organization that published the Test Script.public List<TestScript.TestScriptContactComponent> getContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public boolean hasContact()
public TestScript.TestScriptContactComponent addContact()
contact (Contacts to assist a user in finding and communicating with the publisher.)public TestScript addContact(TestScript.TestScriptContactComponent t)
public DateTimeType getDateElement()
date (The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic boolean hasDateElement()
public boolean hasDate()
public TestScript setDateElement(DateTimeType value)
value - date (The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic Date getDate()
public TestScript setDate(Date value)
value - The date this version of the test tcript was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the test cases change.public StringType getDescriptionElement()
description (A free text natural language description of the TestScript and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public TestScript setDescriptionElement(StringType value)
value - description (A free text natural language description of the TestScript and its use.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public TestScript setDescription(String value)
value - A free text natural language description of the TestScript and its use.public List<CodeableConcept> getUseContext()
useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of Test Scripts.)public boolean hasUseContext()
public CodeableConcept addUseContext()
useContext (The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of Test Scripts.)public TestScript addUseContext(CodeableConcept t)
public StringType getRequirementsElement()
requirements (Explains why this Test Script is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic boolean hasRequirementsElement()
public boolean hasRequirements()
public TestScript setRequirementsElement(StringType value)
value - requirements (Explains why this Test Script is needed and why it's been constrained as it has.). This is the underlying object with id, value and extensions. The accessor "getRequirements" gives direct access to the valuepublic String getRequirements()
public TestScript setRequirements(String value)
value - Explains why this Test Script is needed and why it's been constrained as it has.public StringType getCopyrightElement()
copyright (A copyright statement relating to the Test Script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the valuepublic boolean hasCopyrightElement()
public boolean hasCopyright()
public TestScript setCopyrightElement(StringType value)
value - copyright (A copyright statement relating to the Test Script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.). This is the underlying object with id, value and extensions. The accessor "getCopyright" gives direct access to the valuepublic String getCopyright()
public TestScript setCopyright(String value)
value - A copyright statement relating to the Test Script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the details of the constraints and mappings.public TestScript.TestScriptMetadataComponent getMetadata()
metadata (The required capability must exist and are assumed to function correctly on the FHIR server being tested.)public boolean hasMetadata()
public TestScript setMetadata(TestScript.TestScriptMetadataComponent value)
value - metadata (The required capability must exist and are assumed to function correctly on the FHIR server being tested.)public BooleanType getMultiserverElement()
multiserver (If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.). This is the underlying object with id, value and extensions. The accessor "getMultiserver" gives direct access to the valuepublic boolean hasMultiserverElement()
public boolean hasMultiserver()
public TestScript setMultiserverElement(BooleanType value)
value - multiserver (If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.). This is the underlying object with id, value and extensions. The accessor "getMultiserver" gives direct access to the valuepublic boolean getMultiserver()
public TestScript setMultiserver(boolean value)
value - If the tests apply to more than one FHIR server (e.g. cross-server interoperability tests) then multiserver=true. Defaults to false if value is unspecified.public List<TestScript.TestScriptFixtureComponent> getFixture()
fixture (Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)public boolean hasFixture()
public TestScript.TestScriptFixtureComponent addFixture()
fixture (Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.)public TestScript addFixture(TestScript.TestScriptFixtureComponent t)
public List<Reference> getProfile()
profile (Reference to the profile to be used for validation.)public boolean hasProfile()
public Reference addProfile()
profile (Reference to the profile to be used for validation.)public TestScript addProfile(Reference t)
public List<Resource> getProfileTarget()
profile (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Reference to the profile to be used for validation.)public List<TestScript.TestScriptVariableComponent> getVariable()
variable (Variable is set based either on element value in response body or on header field value in the response headers.)public boolean hasVariable()
public TestScript.TestScriptVariableComponent addVariable()
variable (Variable is set based either on element value in response body or on header field value in the response headers.)public TestScript addVariable(TestScript.TestScriptVariableComponent t)
public TestScript.TestScriptSetupComponent getSetup()
setup (A series of required setup operations before tests are executed.)public boolean hasSetup()
public TestScript setSetup(TestScript.TestScriptSetupComponent value)
value - setup (A series of required setup operations before tests are executed.)public List<TestScript.TestScriptTestComponent> getTest()
test (A test in this script.)public boolean hasTest()
public TestScript.TestScriptTestComponent addTest()
test (A test in this script.)public TestScript addTest(TestScript.TestScriptTestComponent t)
public TestScript.TestScriptTeardownComponent getTeardown()
teardown (A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)public boolean hasTeardown()
public TestScript setTeardown(TestScript.TestScriptTeardownComponent value)
value - teardown (A series of operations required to clean up after the all the tests are executed (successfully or otherwise).)public TestScript copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.