IsetBusinessObjectAttribute()

Sets the value of an attribute of single cardinality.

Syntax

void IsetBusinessObjectAttribute(string attributeName, 
     IBusinessObject value);

Parameters

attributeName
The name of the single-cardinality attribute whose value is set.
value
The business object that is the value for the attribute.

Return Values

None.

Exceptions

IInvalidAttributeTypeException
Thrown when the attribute is not a business object.
IInvalidAttributeNameException
Thrown when the attribute name is invalid.

Example

// Call the BusinessObject attribute method
String attributeName = "AccountStatus";
String value = "delqnt";
exampleBusObj.IsetBusinessObjectAttribute(attributeName, value);

Copyright IBM Corp. 2004, 2005