Blue Mind
Release 1.0

net.bluemind.core.api.contact
Class Email

java.lang.Object
  extended by net.bluemind.core.api.contact.Email
All Implemented Interfaces:
Serializable

public class Email
extends Object
implements Serializable

This class represents an email ([localpart]@[domainpart]).

See Also:
Serialized Form

Field Summary
static String BMM
          Label for reserved login@domain user's mailboxes
static String BMM_REF
          Email label prefix
 
Constructor Summary
Email()
           
Email(String email)
          Creates an email at allAliases
Email(String email, boolean allAliases)
           
 
Method Summary
 boolean equals(Object obj)
           
 boolean getAllAliases()
           
 String getEmail()
           
 int hashCode()
           
 boolean isDefault()
           
 void setAllAliases(boolean allAliases)
           
 void setDefault(boolean isDefault)
           
 void setEmail(String email)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BMM

public static final String BMM
Label for reserved login@domain user's mailboxes

See Also:
Constant Field Values

BMM_REF

public static final String BMM_REF
Email label prefix

See Also:
Constant Field Values
Constructor Detail

Email

public Email()

Email

public Email(String email)
Creates an email at allAliases

Parameters:
email -

Email

public Email(String email,
             boolean allAliases)
Method Detail

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

isDefault

public boolean isDefault()

setDefault

public void setDefault(boolean isDefault)

getAllAliases

public boolean getAllAliases()

setAllAliases

public void setAllAliases(boolean allAliases)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Blue Mind
Release 1.0