The getValueAsString method returns the value of a NameValuePair object.
You should use getValueDataType before using
getValueAsString to confirm you are referencing the correct data type.
The getValueAsString method returns a string. If, for example, you are retrieving a value originally stored in your profile table as a char, varchar, or char[10],
getValueAsString returns a string.