Difference between revisions of "Extensions.DiagCom.IsPositive"
Jump to navigation
Jump to search
(Created page with "<big>Big text</big>Category:DiagCom == Classification == {{ClassificationActivity | IsPositive | Test, a response to positive or negative | Term | DiagCom|OTX DiagCo...") |
|||
Line 5: | Line 5: | ||
== Pseudo-Code Syntax == | == Pseudo-Code Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | IsPositive(Response response | + | Boolean IsPositive(Response response); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 02:47, 18 July 2014
Big text
Contents
Classification
Name | IsPositive |
Short Description | Test, a response to positive or negative |
Class | Term |
Extension | OTX DiagCom extension |
Group | Response related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
Boolean IsPositive(Response response);
Description
The IsPositive term tests whether the specified response is positive or negative.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | True if the response is positive, otherwise false. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Response | Response | Term | - | [1] | Response object. |
Examples
Boolean isPositive = IsPositive(response);
See also
GetAllResponses
GetFirstResponse
ExecuteDiagService
GetFirstResult