I need to access the data types of the fields in a Salesforce.com object in order to identify each phone, fax, email, and mail field in an object. I ve done this from SFDC web services with the DescribeSObject call but the Apex DescribeFieldResult.getType method only returns the display type of the field, not the actual data type.
For example, fields that display a Data Type of Fax like in the image below have a display type of Phone according the getType call. I need something that returns fax for fax fields, mail for mail fields, etc. like the DescribeSObject web service call. Does anyone if that exists in Apex?