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:
java.io.Serializable

public class Email
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

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

Field Detail

BMM

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

See Also:
Constant Field Values

BMM_REF

public static final java.lang.String BMM_REF
Email label prefix

See Also:
Constant Field Values
Constructor Detail

Email

public Email()

Email

public Email(java.lang.String email)
Creates an email at allAliases

Parameters:
email -

Email

public Email(java.lang.String email,
             boolean allAliases)
Method Detail

getEmail

public java.lang.String getEmail()

setEmail

public void setEmail(java.lang.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 java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Blue Mind
Release 1.0