Retrieves the value of a long
attribute in a business object, given the
attribute's name or its position in the business object's attribute
list.
Syntax
public long getlongValue(String attrName);
public long getlongValue(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 long value of the specified attribute.
Exceptions
- WrongAttributeException
- Thrown if the method is called on a non-long
attribute.
- AttributeNotFoundException
- Thrown if the position or name specified is not valid for the
definition of this business object.
- AttributeNullValueException
- Thrown if the specified attribute has null as a
value.
- AttributeValueException
- Thrown if the long value is not in the correct
format.
See also
getAttrName(),,
getbooleanValue(),,
getBusObjValue(),,
getDefaultlong(),,
getdoubleValue(),,
getfloatValue(),,
getintValue(),,
getLongTextValue(),,
getStringValue()
