Valid Data

Determines whether the specified value is a valid data type for a specified attribute.

Inputs

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

Attribute
A String that specifies the name of the attribute.

Value
The value for the attribute. Can be of type Object, BusObj, BusObjArray, String, long, int, double, float, or boolean.

Output

Returns true if the specified value is a valid data type; otherwise, returns false.

Notes

This function block is based on the BusObj.validData() method. For more information, see validData().

Copyright IBM Corp. 2003, 2004