getLongTextValue()

Retrieves the value of a LongText attribute in a business object, given the attribute's name or its position in the business object's attribute list.

Syntax

public String getLongTextValue(String attrName);
public String getLongTextValue(int position);

Parameters

attrName
Is the name of an attribute whose value is retrieved.

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

Return values

The String that contains the LongText value of the specified attribute.

Exceptions

WrongAttributeException
Thrown if the method is called on a non-LongText attribute.

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

See also

getAttrName(),, getbooleanValue(),, getBusObjValue(),, getDefaultlong(),, getdoubleValue(),, getfloatValue(),, getintValue(),, getlongValue(), getStringValue(),, setLongTextValue()

Copyright IBM Corp. 1997, 2004