public class TestReport
extends java.lang.Object
This class has the following attributes:
1. resultTypeCode (String)
2. testName (String)
3. range (String)
4. unit (String)
5. value (String)
This class provides accessors and mutators for the elements mentioned above.
| Constructor and Description |
|---|
TestReport()
Constructs an object of Test Report
|
TestReport(java.lang.String resultTypeCode,
java.lang.String testName,
java.lang.String range,
java.lang.String unit,
java.lang.String value)
This parameterized constructor initializes the fields.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRange()
Returns the reference range for the report value.
|
java.lang.String |
getResultTypeCode()
Returns the Result Type Code.
|
java.lang.String |
getTestName()
Returns the Test type name
|
java.lang.String |
getUnit()
Returns the unit of test result value.
|
java.lang.String |
getValue()
Returns the test result values of the report.
|
void |
setRange(java.lang.String range)
Sets the Reference range for the report value.
|
void |
setResultTypeCode(java.lang.String resultTypeCode)
Sets the ResultTypeCode.
|
void |
setTestName(java.lang.String testName)
Sets the Test Name name of a Result.
|
void |
setUnit(java.lang.String unit)
Sets the unit of test result.
|
void |
setValue(java.lang.String value)
Sets the value of test result value of the report
|
public TestReport()
public TestReport(java.lang.String resultTypeCode,
java.lang.String testName,
java.lang.String range,
java.lang.String unit,
java.lang.String value)
resultTypeCode - specifies the Result TypetestName - specifies Test type namerange - specifies reference range for the report valueunit - specifies unit of test result valuevalue - specifies specifes the test result value of the reportpublic java.lang.String getResultTypeCode()
public void setResultTypeCode(java.lang.String resultTypeCode)
resultTypeCode - specifies the type of Resultpublic java.lang.String getTestName()
public void setTestName(java.lang.String testName)
testName - specifies the Test Type namepublic java.lang.String getRange()
public void setRange(java.lang.String range)
range - specifies the reference range for the report valuepublic java.lang.String getUnit()
public void setUnit(java.lang.String unit)
unit - specifies the unit of test resultpublic java.lang.String getValue()
public void setValue(java.lang.String value)
value - specifes the test result value of the report