Retrieves the value of an attribute, given the attribute's name.
Syntax
public Object getAttribute(String attrName);
Parameters
Return values
An Object that contains the attribute value.
Exceptions
Notes
This method differs from getAttrValue() in that getAttribute() can do a deep retrieve of attribute values. For example, if a Customer business object contains an Address business object, getAttribute() can retrieve an AddressId from the Address subobject, at the fifth position in the container: Address[4].AddressId.