com.funambol.common.pim.model.contact
Class Email

java.lang.Object
  extended by com.funambol.common.pim.model.common.Property
      extended by com.funambol.common.pim.model.common.TypifiedProperty
          extended by com.funambol.common.pim.model.contact.Email

public class Email
extends TypifiedProperty

An object representing an email. This class holds informations about the type of the email number (businness, home etc.) and the email value itself


Field Summary
static java.lang.String MAIN_EMAIL
           
static java.lang.String OTHER_EMAIL
           
static java.lang.String WORK_EMAIL
           
 
Fields inherited from class com.funambol.common.pim.model.common.TypifiedProperty
propertyType
 
Fields inherited from class com.funambol.common.pim.model.common.Property
altrep, chrset, cn, cutype, delegatedFrom, delegatedTo, dir, encoding, group, language, member, partstat, propertyValue, related, sentby, tag, type, value, xParams
 
Constructor Summary
Email()
          Creates an empty email
Email(java.lang.String value)
          Creates an email (Property) with value.
 
Method Summary
 java.lang.String getEmailType()
          Returns the email type for this email
 void setEmailType(java.lang.String emailType)
          Sets the email type for this email
 
Methods inherited from class com.funambol.common.pim.model.common.TypifiedProperty
compare, equals, getPropertyType, hashCode, setPropertyType
 
Methods inherited from class com.funambol.common.pim.model.common.Property
compare, getAltrep, getCharset, getCn, getCutype, getDelegatedFrom, getDelegatedTo, getDir, getEncoding, getGroup, getLanguage, getMember, getPartstat, getPropertyValue, getPropertyValueAsString, getRelated, getSentby, getTag, getType, getValue, getXParams, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setType, setValue, setXParams, stringFrom, stringFrom
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN_EMAIL

public static final java.lang.String MAIN_EMAIL
See Also:
Constant Field Values

OTHER_EMAIL

public static final java.lang.String OTHER_EMAIL
See Also:
Constant Field Values

WORK_EMAIL

public static final java.lang.String WORK_EMAIL
See Also:
Constant Field Values
Constructor Detail

Email

public Email()
Creates an empty email


Email

public Email(java.lang.String value)
Creates an email (Property) with value.

Method Detail

getEmailType

public java.lang.String getEmailType()
Returns the email type for this email

Returns:
the email type for this email

setEmailType

public void setEmailType(java.lang.String emailType)
Sets the email type for this email

Parameters:
emailType - the email type to set


Copyright © 2001-2009 Funambol.