Interface EmailAddress
-
public interface EmailAddress
Email address of a user
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAddress()
Get the email addressDateTimeZone
getValidFrom()
This email address is valid from this dateDateTimeZone
getValidTo()
This email address is valid to this dateboolean
isDefault()
This flag indicates whether this is the default email address of the user
-
-
-
Method Detail
-
getAddress
String getAddress()
Get the email address- Returns:
- email address
-
isDefault
boolean isDefault()
This flag indicates whether this is the default email address of the user- Returns:
true
if this email address is the default one,false
otherwise
-
getValidFrom
DateTimeZone getValidFrom()
This email address is valid from this date- Returns:
- date from when the email address is valid,
null
if no date has been maintained
-
getValidTo
DateTimeZone getValidTo()
This email address is valid to this date- Returns:
- date until when the email address is valid,
null
if no date has been maintained
-
-