org.rr0.im.business.actor
Interface Identity
- All Known Implementing Classes:
- IdentityImpl
- public interface Identity
- extends Principal
An Actor may have multiple identities (pseudonyms).
- Author:
- Jerome Beau
- Version: 10 avr. 2004 15:10:18
| Method Summary |
void | addEmail(String email) |
void | addHomePage(URL homePage) |
String[] | getEmails() Get available electronic mail addresses to communicate with this identity. |
URL[] | getHomePages() The actor's Web pages addresses (HTTP URLs) |
boolean | isPseudonym() Return if this identity is a pseudonym or not. |
| Methods inherited from interface java.security.Principal |
equals, toString, hashCode, getName |
addEmail
public void addEmail(String email)
addHomePage
public void addHomePage(URL homePage)
getEmails
public String[] getEmails()
- Get available electronic mail addresses to communicate with this identity.
- Returns: An array of String containing the email addresses.
getHomePages
public URL[] getHomePages()
- The actor's Web pages addresses (HTTP URLs)
- Returns:
isPseudonym
public boolean isPseudonym()
- Return if this identity is a pseudonym or not.
- Returns: true if this identity is a pseudonym, false if it is the "true" identity of an Actor.