OTX-Runtime for Java  
OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit Class Reference

Represents the Unit type. More...

Public Member Functions

 Unit ()
 Initializes a new instance of the Unit class.
 
 Unit (String id, String filePath, String shortName, String displayName, double factorSI2UNIT, double offsetSI2UNIT, Dimension dimension)
 Initializes a new instance of the Unit class. More...
 
Dimension GetDimension ()
 Gets dimension. More...
 
String GetDisplayName ()
 Gets displayName. More...
 
double GetFactorSI2UNIT ()
 Gets factorSI2UNIT. More...
 
String GetFilePath ()
 Gets filePath. More...
 
String GetId ()
 Gets id. More...
 
double GetOffsetSI2UNIT ()
 Gets offsetSI2UNIT. More...
 
String GetShortName ()
 Gets shortName. More...
 
String toString ()
 Converts to string. More...
 

Detailed Description

Represents the Unit type.

Constructor & Destructor Documentation

◆ Unit()

OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.Unit ( String  id,
String  filePath,
String  shortName,
String  displayName,
double  factorSI2UNIT,
double  offsetSI2UNIT,
Dimension  dimension 
)
inline

Initializes a new instance of the Unit class.

Parameters
idThe id to construct a Unit.
filePathThe filePath to construct a Unit.
shortNameThe shortName to construct a Unit.
displayNameThe displayName to construct a Unit.
factorSI2UNITThe factorSI2UNIT to construct a Unit.
offsetSI2UNITThe offsetSI2UNIT to construct a Unit.
dimensionThe dimension to construct a Unit.

Member Function Documentation

◆ GetDimension()

Dimension OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetDimension ( )
inline

Gets dimension.

Returns
The dimension.

◆ GetDisplayName()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetDisplayName ( )
inline

Gets displayName.

Returns
The displayName.

◆ GetFactorSI2UNIT()

double OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetFactorSI2UNIT ( )
inline

Gets factorSI2UNIT.

Returns
The factorSI2UNIT.

◆ GetFilePath()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetFilePath ( )
inline

Gets filePath.

Returns
The filePath.

◆ GetId()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetId ( )
inline

Gets id.

Returns
The id.

◆ GetOffsetSI2UNIT()

double OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetOffsetSI2UNIT ( )
inline

Gets offsetSI2UNIT.

Returns
The offsetSI2UNIT.

◆ GetShortName()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.GetShortName ( )
inline

Gets shortName.

Returns
The shortName.

◆ toString()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.Unit.toString ( )
inline

Converts to string.

Returns
Returns the string.

The documentation for this class was generated from the following file: