
Package org.hl7.fhir.r5.tools
Class TestCases.TestCasesSuiteTestComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.tools.TestCases.TestCasesSuiteTestComponent
- 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 test does / why it was defined.protected List<TestCases.TestCasesSuiteResourceComponent> The resources used when executing this test.protected StringTypeIf this mode is not passed to the runner, then this test will not be runprotected StringTypeThe name by which this test is known by in the test system.protected CodeTypeA code that identifies the operation executed for this test.protected List<TestCases.TestCasesSuiteResourceComponent> Resources expected as output from this test.protected List<TestCases.TestCasesSuiteParameterComponent> -
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionaddInput()copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getMode()getName()getNamedProperty(int _hash, String _name, boolean _checkValid) getParameter(String name) getParameterStr(String name) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasInput()booleanhasMode()booleanbooleanhasName()booleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setDescription(String value) setDescriptionElement(StringType value) setModeElement(StringType value) setNameElement(StringType value) setOperation(String value) setOperationElement(CodeType value) setParameterList(List<TestCases.TestCasesSuiteParameterComponent> theParameter) setProperty(int hash, String name, Base value) setProperty(String name, Base value) 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 test is known by in the test system. The name must be unique in the suite -
description
Description of what this test does / why it was defined. This should explain to a tester what they should know when looking at failing test results -
operation
A code that identifies the operation executed for this test. One of the codes defined in the definition of the runner -
mode
If this mode is not passed to the runner, then this test will not be run -
parameterList
-
inputList
The resources used when executing this test. How exactly they are used depends on the definition of the runner. -
outputList
Resources expected as output from this test. Often, but not always, these resources are Matchetype resources. How exactly it is used depends on the definition of the runner
-
-
Constructor Details
-
TestCasesSuiteTestComponent
public TestCasesSuiteTestComponent()Constructor -
TestCasesSuiteTestComponent
Constructor
-
-
Method Details
-
getNameElement
- Returns:
name(The name by which this test is known by in the test system. The name must be unique in the suite). 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 test is known by in the test system. The name must be unique in the suite). 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 test is known by in the test system. The name must be unique in the suite
-
setName
- Parameters:
value- The name by which this test is known by in the test system. The name must be unique in the suite
-
getDescriptionElement
- Returns:
description(Description of what this test does / why it was defined. This should explain to a tester what they should know when looking at failing test results). 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 test does / why it was defined. This should explain to a tester what they should know when looking at failing test results). 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 test does / why it was defined. This should explain to a tester what they should know when looking at failing test results
-
setDescription
- Parameters:
value- Description of what this test does / why it was defined. This should explain to a tester what they should know when looking at failing test results
-
getOperationElement
- Returns:
operation(A code that identifies the operation executed for this test. One of the codes defined in the definition of the runner). This is the underlying object with id, value and extensions. The accessor "getOperation" gives direct access to the value
-
hasOperationElement
-
hasOperation
-
setOperationElement
- Parameters:
value-operation(A code that identifies the operation executed for this test. One of the codes defined in the definition of the runner). This is the underlying object with id, value and extensions. The accessor "getOperation" gives direct access to the value
-
getOperation
- Returns:
- A code that identifies the operation executed for this test. One of the codes defined in the definition of the runner
-
setOperation
- Parameters:
value- A code that identifies the operation executed for this test. One of the codes defined in the definition of the runner
-
getModeElement
- Returns:
mode(If this mode is not passed to the runner, then this test 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 test 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 test will not be run
-
setMode
- Parameters:
value- If this mode is not passed to the runner, then this test will not be run
-
getParameterList
- Returns:
-
()
invalid reference
#parameter
-
setParameterList
public TestCases.TestCasesSuiteTestComponent setParameterList(List<TestCases.TestCasesSuiteParameterComponent> theParameter) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasParameter
-
addParameter
-
addParameter
-
getParameterFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#parameter
-
getInputList
- Returns:
-
(The resources used when executing this test. How exactly they are used depends on the definition of the runner.)
invalid reference
#input
-
setInputList
public TestCases.TestCasesSuiteTestComponent setInputList(List<TestCases.TestCasesSuiteResourceComponent> theInput) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInput
-
addInput
-
addInput
-
getInputFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#input
-
getOutputList
- Returns:
-
(Resources expected as output from this test. Often, but not always, these resources are Matchetype resources. How exactly it is used depends on the definition of the runner)
invalid reference
#output
-
setOutputList
public TestCases.TestCasesSuiteTestComponent setOutputList(List<TestCases.TestCasesSuiteResourceComponent> theOutput) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOutput
-
addOutput
-
addOutput
-
getOutputFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#output
-
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
-
getParameterStr
-
getParameter
-
getInput
-