* accountInfoOpSet belongs.
*/
public static String getEmailAddress(
OperationSetServerStoredAccountInfo accountInfoOpSet)
{
EmailAddressDetail address = null;
Iterator<GenericDetail> addressDetails
= accountInfoOpSet.getDetails(EmailAddressDetail.class);
if (addressDetails.hasNext())
address = (EmailAddressDetail) addressDetails.next();
if(address == null)
return null;
return address.getEMailAddress();
}