OTX-Runtime for Java  
OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedObject Class Referenceabstract

A RangedObject is an otx:ComplexType and represents the abstract base data type for all ranged data types. More...

Inheritance diagram for OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedObject:
Inheritance graph

Public Member Functions

abstract boolean IsInRange ()
 Checks if the value is in range. More...
 
boolean IsValueWritten ()
 A value is considered written if one of the set value actions is called. More...
 

Detailed Description

A RangedObject is an otx:ComplexType and represents the abstract base data type for all ranged data types.

Member Function Documentation

◆ IsInRange()

abstract boolean OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedObject.IsInRange ( )
abstract

Checks if the value is in range.

Returns
True if the value of the ranged object is inside one of the intervals or if the ranged object has no intervals.

Reimplemented in OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedString, OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedQuantity, OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedInteger, and OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedFloat.

◆ IsValueWritten()

boolean OpenTestSystem.Otx.Runtime.Api.DataTypes.RangedObject.IsValueWritten ( )
inline

A value is considered written if one of the set value actions is called.

Overwriting with the same value as the current value counts as written. The initialization of the ranged object with a value does not count as written.

Returns
True if the value of the given ranged object was written at least once.

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