This function takes the following parameters:
Entry from which you want to get the long value.
Attribute type from which you want to get the value.