Difference between revisions of "Extensions.DiagCom.GetParameterBySemantic"

From emotive
Jump to navigation Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | GetParameterBySemantic | Returns a parameter whose semantic attribute | Term | DiagCom|OTX DiagCom e...")
 
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;">
GetParameterBySemantic(ParameterContainer container, String semantic, Parameter result);
+
Parameter GetParameterBySemantic(ParameterContainer container, String semantic);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 02:48, 18 July 2014

Classification

Name GetParameterBySemantic
Short Description Returns a parameter whose semantic attribute
Class Term
Extension OTX DiagCom extension
Group Parameter related terms
Exceptions AmbiguousSemanticException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

Parameter GetParameterBySemantic(ParameterContainer container, String semantic);

Description

The GetParameterBySemantic term is from a container parameters to the corresponding parameter. The parameter is a Semantic Attribute selected.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Parameter Parameter object.

Properties

Name Data Type Class Default Cardinality Description
ParameterContainer ParameterContainer Term - [1] Container, which is read out from the parameter.
Semantic String Term "" [1] Semantic attribute to classify the diagnostic services (eg: "DEFAULT FAULTREAD" or "IDENTIFICATION").

Examples

Parameter result = GetParameterBySemantic(container, "IDENTIFICATION");

See also

GetParameterByPath
GetParameterName
GetParameterSemantic
GetParameterValue
GetParameterAsList
ExecuteDiagService