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
 voidaddEmail(String email)
           
 voidaddHomePage(URL homePage)
           
 String[]getEmails()
          Get available electronic mail addresses to communicate with this identity.
 URL[]getHomePages()
          The actor's Web pages addresses (HTTP URLs)
 booleanisPseudonym()
          Return if this identity is a pseudonym or not.

Methods inherited from interface java.security.Principal
equals, toString, hashCode, getName

Method Detail

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.