isObjectType()

Determines if an attribute's data type is an object type; that is, if it is a complex attribute (an array or a subobject).

Syntax

public boolean isObjectType(String attrName);
 public boolean isObjectType(int position);
 

Parameters

attrName
Is the name of an attribute that is checked for an object data type.

position
Is an integer that specifies the ordinal position of an attribute in the business object's attribute list.

Return values

Returns true if the attribute is a business object or a complex attribute, such as a business object array or subobject; otherwise, returns false.

Exceptions

AttributeNotFoundException
Thrown if the position or name specified is not valid for the definition of this business object.

Copyright IBM Corp. 1997, 2003