Get Double

Retrieves the value of a single attribute, as a double, from a business object.

Inputs

Business object
The current business object (a BusObj object).

Attribute
A String that specifies the name of the attribute you want to retrieve.

Output

Returns the value of the specified attribute as a double data type.

Exceptions

The Get Double function block can set the following exception type for a CollaborationException exception:

Notes

The Get Double function block retrieves an attribute value from the current business object and returns a copy of the attribute value. It does not return an object reference to this attribute in the source business object. Therefore, any change to attribute value in the source business object is not made to value that the function block returns. Each time this function block is used, it returns a new copy (clone) of the attribute.

Related information

This function block is based on the BusObj.getDouble() method. For more information, see getBoolean(), getDouble(), getFloat(), getInt(), getLong(), get(), getBusObj(), getBusObjArray(), getLongText(), getString().

Copyright IBM Corp. 1997, 2004