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

A StringInterval is an Interval and represents a set of strings described by a regular expression. More...

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

Public Member Functions

 StringInterval ()
 Initializes a new instance of the StringInterval class.
 
 StringInterval (String regExp)
 Initializes a new instance of the StringInterval class. More...
 
 StringInterval (String regExp, IntervalSemantics semantic)
 Initializes a new instance of the StringInterval class. More...
 
 StringInterval (String regExp, IntervalSemantics semantic, String label)
 Initializes a new instance of the StringInterval class. More...
 
String GetRegExp ()
 Gets a regular expression. More...
 
- Public Member Functions inherited from OpenTestSystem.Otx.Runtime.Api.DataTypes.Interval
String GetLabel ()
 Gets the optional label of the interval. More...
 
IntervalSemantics GetSemantic ()
 Gets the semantics of how values inside the interval are interpreted. More...
 
String GetSemanticAsString ()
 Gets the optional semantics of the interval as a string. More...
 

Detailed Description

A StringInterval is an Interval and represents a set of strings described by a regular expression.

Constructor & Destructor Documentation

◆ StringInterval() [1/3]

OpenTestSystem.Otx.Runtime.Api.DataTypes.StringInterval.StringInterval ( String  regExp)
inline

Initializes a new instance of the StringInterval class.

Parameters
regExpA regular expression

◆ StringInterval() [2/3]

OpenTestSystem.Otx.Runtime.Api.DataTypes.StringInterval.StringInterval ( String  regExp,
IntervalSemantics  semantic 
)
inline

Initializes a new instance of the StringInterval class.

Parameters
regExpA regular expression
semanticThe semantics of how values inside the interval are interpreted

◆ StringInterval() [3/3]

OpenTestSystem.Otx.Runtime.Api.DataTypes.StringInterval.StringInterval ( String  regExp,
IntervalSemantics  semantic,
String  label 
)
inline

Initializes a new instance of the StringInterval class.

Parameters
regExpA regular expression
semanticThe semantics of how values inside the interval are interpreted
labelThe label to categorize the interval

Member Function Documentation

◆ GetRegExp()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.StringInterval.GetRegExp ( )
inline

Gets a regular expression.

If the regular expression is omitted, the interval includes all possible strings. In this case, all strings are considered to be inside the interval.

Returns
A regular expression

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