setName
setName(
name)

The setName method defines the name component of a NameValuePair object.

*
name—a string containing the name component of a NameValuePair object.
Return value

None.

Example

The following example shows how to define the name component of a NameValuePair.

NameValuePair custId = new NameValuePairImpl();
custId.setName("CustomerId");
custId.setValueAsNumeric(1.0);
custId.setValueDataType(NameValuePair.DATA_TYPE_NUMERIC);
NameValuePair[] initialAudienceId = { custId };


IBM Unica Interact
 
8.5.0
For more information, see our support and community site: Customer Central