The getValueDataType method returns the data type of a NameValuePair object.
You should use getValueDataType before using getValueAsDate, getValueAsNumeric, or getValueAsString to confirm you are referencing the correct data type.
The getValueDataType method returns a string indicating whether the NameValuePair contains a data, number, or string.
DATA_TYPE_DATETIME—a date containing a date and time value.
DATA_TYPE_NUMERIC—a double containing a number value.
DATA_TYPE_STRING—a string containing a text value.The following example is an excerpt from a method which processes the response object from a getProfile method.
IBM Unica Interact
8.5.0
|
Copyright IBM Corporation 2011. All Rights Reserved.
|
For more information, see our support and community site: Customer Central
|
|