public class TaggedNameHelper
extends java.lang.Object
TaggedName
class.Constructor and Description |
---|
TaggedNameHelper() |
Modifier and Type | Method and Description |
---|---|
static TaggedName |
create(BaseDataType name,
BaseDataType tag)
Constructor method.
|
static TaggedName |
create(java.lang.Object[] values)
Constructor method from array of
Object instances. |
static java.lang.String |
prettyPrint(BaseDataType value)
Pretty-print the given 4GL value.
|
static java.lang.String |
prettyPrintNoUnknows(BaseDataType value)
Works in the same way as
prettyPrint(BaseDataType) , but returns
an empty string for null and unknown values. |
public static TaggedName create(BaseDataType name, BaseDataType tag)
name
- Name.tag
- Tag.TaggedName
instance.public static TaggedName create(java.lang.Object[] values)
Object
instances.values
- TaggedName
instance.public static java.lang.String prettyPrint(BaseDataType value)
character
or int64
types,
the int64.longValue()
or Text.getValue()
methods are invoked. Else, the
Object.toString()
is used to obtain the value.value
- The 4GL valuepublic static java.lang.String prettyPrintNoUnknows(BaseDataType value)
prettyPrint(BaseDataType)
, but returns
an empty string for null
and unknown values.value
- The 4GL value