OTX Reference
|
|
Convert expression to String More...
Public Attributes | |
Term | term |
The expression (term) to be converted to String More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term | |
MetaData | metaData |
Cardinality [0..1] The MetaData type allows tools to store additional, mainly tool-specific data. More... | |
Convert expression to String
The ToString
term returns the String
equivalent of the argument. If the argument is Boolean true
it returns "true"
and if Boolean false
it returns "false"
. If the argument is Float
or Integer
it returns the string interpretation of the value. If the argument a ByteField
it returns the UTF-8 interpretation of the string value.
Boolean
Integer
Float
ByteField
String
List
Map
Core.Exceptions.OutOfBoundsException | It is thrown in the ByteField case only: if the value cannot be interpreted as string in UTF-8 format. This exception is listed here for compatibility with the 2012 edition of the standard.It will never be thrown, as specified above. |
Term OpenTestSystem.Otx.Core.Terms.ToString.term |
The expression (term) to be converted to String