org.deltava.beans
Interface EMailAddress

All Known Implementing Classes:
Applicant, GetPilotNotify.EMailNotificationImpl, Person, Pilot, Staff

public interface EMailAddress

An interface to mark objects that can be used as the recipient of an e-mail message.

Since:
1.0
Version:
1.0
Author:
Luke

Field Summary
static String INVALID_ADDR
          Invalid e-mail address constant.
static String VALID_ADDR_REGEXP
          E-mail address validation regular expression.
 
Method Summary
 String getEmail()
          Returns the message recipient's e-mail address.
 String getName()
          Returns the message recipient's name.
 

Field Detail

INVALID_ADDR

static final String INVALID_ADDR
Invalid e-mail address constant.

See Also:
Constant Field Values

VALID_ADDR_REGEXP

static final String VALID_ADDR_REGEXP
E-mail address validation regular expression.

See Also:
Constant Field Values
Method Detail

getName

String getName()
Returns the message recipient's name.

Returns:
the user name

getEmail

String getEmail()
Returns the message recipient's e-mail address.

Returns:
an RFC822-compliant e-mail address


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.