Interface EmailAddress
-
public interface EmailAddressEmail address of a user
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Get the email addressDateTimeZonegetValidFrom()This email address is valid from this dateDateTimeZonegetValidTo()This email address is valid to this datebooleanisDefault()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:
trueif this email address is the default one,falseotherwise
-
getValidFrom
DateTimeZone getValidFrom()
This email address is valid from this date- Returns:
- date from when the email address is valid,
nullif 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,
nullif no date has been maintained
-
-