
Package org.hl7.fhir.r5.tools
Class TestCases.TestCasesSuiteComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.tools.TestCases.TestCasesSuiteComponent
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
TestCases
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringTypeDescription of what this suite does / why it was defined.protected CodeTypeIf this mode is not passed to the runner, then this suite will not be runprotected StringTypeThe name by which this suite is known by in the test system.protected List<TestCases.TestCasesSuiteParameterComponent> A parameter passed to the runner when executing tests.protected List<TestCases.TestCasesSuiteResourceComponent> The resources used in the tests in this suite.protected List<TestCases.TestCasesSuiteTestComponent> An actual test in the test suite -
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getMode()getName()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasMode()booleanbooleanhasName()booleanbooleanbooleanbooleanhasTest()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setDescription(String value) setDescriptionElement(StringType value) setModeElement(CodeType value) setNameElement(StringType value) setParameterList(List<TestCases.TestCasesSuiteParameterComponent> theParameter) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setResourceList(List<TestCases.TestCasesSuiteResourceComponent> theResource) Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtml
-
Field Details
-
name
The name by which this suite is known by in the test system. The name must be unique in the amongst the suites -
description
Description of what this suite does / why it was defined. This should explain to a tester what they should know when deciding which tests to run -
mode
If this mode is not passed to the runner, then this suite will not be run -
resourceList
The resources used in the tests in this suite. How exactly they are used depends on the definition of the runner -
parameterList
A parameter passed to the runner when executing tests. Which parameters are valid, and how exactly the parameter is used are used depends on the definition of the runner -
testList
An actual test in the test suite
-
-
Constructor Details
-
TestCasesSuiteComponent
public TestCasesSuiteComponent()Constructor -
TestCasesSuiteComponent
Constructor
-
-
Method Details
-
getNameElement
- Returns:
name(The name by which this suite is known by in the test system. The name must be unique in the amongst the suites). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value-name(The name by which this suite is known by in the test system. The name must be unique in the amongst the suites). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- The name by which this suite is known by in the test system. The name must be unique in the amongst the suites
-
setName
- Parameters:
value- The name by which this suite is known by in the test system. The name must be unique in the amongst the suites
-
getDescriptionElement
- Returns:
description(Description of what this suite does / why it was defined. This should explain to a tester what they should know when deciding which tests to run). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value-description(Description of what this suite does / why it was defined. This should explain to a tester what they should know when deciding which tests to run). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- Description of what this suite does / why it was defined. This should explain to a tester what they should know when deciding which tests to run
-
setDescription
- Parameters:
value- Description of what this suite does / why it was defined. This should explain to a tester what they should know when deciding which tests to run
-
getModeElement
- Returns:
mode(If this mode is not passed to the runner, then this suite will not be run). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
hasModeElement
-
hasMode
-
setModeElement
- Parameters:
value-mode(If this mode is not passed to the runner, then this suite will not be run). This is the underlying object with id, value and extensions. The accessor "getMode" gives direct access to the value
-
getMode
- Returns:
- If this mode is not passed to the runner, then this suite will not be run
-
setMode
- Parameters:
value- If this mode is not passed to the runner, then this suite will not be run
-
getResourceList
- Returns:
-
(The resources used in the tests in this suite. How exactly they are used depends on the definition of the runner)
invalid reference
#resource
-
setResourceList
public TestCases.TestCasesSuiteComponent setResourceList(List<TestCases.TestCasesSuiteResourceComponent> theResource) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasResource
-
addResource
-
getParameterList
- Returns:
-
(A parameter passed to the runner when executing tests. Which parameters are valid, and how exactly the parameter is used are used depends on the definition of the runner)
invalid reference
#parameter
-
setParameterList
public TestCases.TestCasesSuiteComponent setParameterList(List<TestCases.TestCasesSuiteParameterComponent> theParameter) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParameter
-
addParameter
-
getTestList
- Returns:
-
(An actual test in the test suite)
invalid reference
#test
-
setTestList
public TestCases.TestCasesSuiteComponent setTestList(List<TestCases.TestCasesSuiteTestComponent> theTest) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTest
-
addTest
-
listChildren
- Overrides:
listChildrenin classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
copy
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classBase
-
equalsShallow
- Overrides:
equalsShallowin classBase
-
isEmpty
-
fhirType
-