Classes


Class actuate.parameter.NameValuePair

The NameValuePair object contains a display name associated with a value. The actuate.parameter.ParameterDefinition#setSelectNameValueList function takes an array of NameValuePair objects to use in a selection list. In this way, actuate.parameter.ParameterDefinition can display a list of names and map them to values used internally. For example, set the name "My Default Country" for a NameValuePair to display "My Default Country" in the drop-down list in the interface, and set the value to "United States" internally for a US user. NameValuePair represents a javascript version of com.actuate.schemas.NameValuePair.
Member of: actuate.parameter.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new NameValuePair object.
Method Summary
Method Attributes Method Name and Description
 
Gets the name value for this NameValuePair.
 
Gets the value for this NameValuePair.
 
setName(name)
Sets the name value for this NameValuePair.
 
setValue(value)
Sets the value for this NameValuePair.
Class Detail
actuate.parameter.NameValuePair(name, value)
Constructs a new NameValuePair object.
Parameters:
{String} name
{String} value
Method Detail
{String} getName()
Gets the name value for this NameValuePair. This sample code returns the name component of the myNVPair NameValuePair object:
	alert("Name component is " + myNVPair.getName( ));
Returns:
{String} name

{String} getValue()
Gets the value for this NameValuePair. This sample code returns the value component of the myNVPair NameValuePair object:
	alert("Value component is " + myNVPair.getValue( ));
Returns:
{String} value

{void} setName(name)
Sets the name value for this NameValuePair. This sample code sets the name component of the myNVPair NameValuePair object to "My hometown":
	myNVPair.setName("My hometown");
Parameters:
{String} name
Returns:
{void}

{void} setValue(value)
Sets the value for this NameValuePair. This sample code sets the value component of the myNVPair NameValuePair object to "Cleveland":
	myNVPair.setValue("Cleveland");
Parameters:
{String} value
Returns:
{void}

Documentation generated by JsDoc Toolkit 2.0.1 on Tue Jan 29 2013 05:44:21 GMT-0800 (PST)