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

Represents OTX Enumeration DataType. More...

Public Member Functions

 EnumerationElement (String signature, String elementName, long value, String specification)
 Initializes a new instance of the EnumerationElement class. More...
 
 EnumerationElement (String signature, String elementName, long value, String specification, TranslationKey translationKey)
 Initializes a new instance of the EnumerationElement class. More...
 
String GetElementName ()
 Gets element name. More...
 
IEnumerationSignature GetEnumeration ()
 Gets enumeration. More...
 
String GetSignature ()
 Gets Full name of enumeration signature. More...
 
String GetSpecification ()
 Get enumeration signature specification. More...
 
TranslationKey GetTranslationKey ()
 The TranslationKey will be returned. More...
 
long GetValue ()
 Gets element value. More...
 
String toString ()
 Converts to string. More...
 

Detailed Description

Represents OTX Enumeration DataType.

Constructor & Destructor Documentation

◆ EnumerationElement() [1/2]

OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.EnumerationElement ( String  signature,
String  elementName,
long  value,
String  specification 
)
inline

Initializes a new instance of the EnumerationElement class.

Parameters
signatureFull name of enumeration signature.
elementNameElement name.
valueElement value.
specificationEnumeration signature specification.

◆ EnumerationElement() [2/2]

OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.EnumerationElement ( String  signature,
String  elementName,
long  value,
String  specification,
TranslationKey  translationKey 
)
inline

Initializes a new instance of the EnumerationElement class.

Parameters
signatureFull name of enumeration signature.
elementNameElement name.
valueElement value.
specificationEnumeration signature specification.
translationKeyThe TranslationKey

Member Function Documentation

◆ GetElementName()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetElementName ( )
inline

Gets element name.

Returns
Element name.

◆ GetEnumeration()

IEnumerationSignature OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetEnumeration ( )
inline

Gets enumeration.

Returns
enumerations

◆ GetSignature()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetSignature ( )
inline

Gets Full name of enumeration signature.

Deprecated:
EnumerationElement.GetSignature is deprecated.
Returns
Full name of enumeration signature.

◆ GetSpecification()

String OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetSpecification ( )
inline

Get enumeration signature specification.

Deprecated:
EnumerationElement.GetSpecification is deprecated.
Returns
empty string

◆ GetTranslationKey()

TranslationKey OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetTranslationKey ( )
inline

The TranslationKey will be returned.

Returns
TranslationKey

◆ GetValue()

long OpenTestSystem.Otx.Runtime.Api.DataTypes.EnumerationElement.GetValue ( )
inline

Gets element value.

Returns
Element value.

◆ toString()

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

Converts to string.

Returns
Returns the string.

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