IgetAttributeTypeAtIndex()

Retrieves the type of the attribute at the specified position in the business object definition.

Syntax

long IgetAttributeTypeAtIndex(long position); 

Parameters

position
The position of the attribute in the business object definition.

Return Values

An integer to indicate the data type of the attribute at the specified position in the business object, as follows:

0
Object
1
boolean
2
int
3
float
4
double
5
string
6
date
7
longtext

Exceptions

IInvalidIndexException
Thrown when the position index is invalid.

Example

int indexPosition = 1;
long attributeType = 0;
attributeType = aBusObj.IgetAttributeTypeAtIndex(indexPosition);

Copyright IBM Corp. 2004, 2005