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

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.Photo

public class Photo
extends TypifiedProperty

Contact's photo


Field Summary
 
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
Photo()
           
Photo(java.lang.String url, byte[] image)
           
Photo(java.lang.String type, java.lang.String url, byte[] image)
           
 
Method Summary
 byte[] getImage()
           
 java.lang.String getType()
          Returns the type parameter of this property.
 java.lang.String getUrl()
           
 void setImage(byte[] image)
           
 void setType(java.lang.String type)
          Sets the type parameter of this property.
 void setUrl(java.lang.String url)
           
 
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, getValue, getXParams, isEmptyProperty, setAltrep, setCharset, setCn, setCutype, setDelegatedFrom, setDelegatedTo, setDir, setEncoding, setGroup, setLanguage, setMember, setPartstat, setPropertyValue, setRelated, setSentby, setTag, setValue, setXParams, stringFrom, stringFrom
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Photo

public Photo()

Photo

public Photo(java.lang.String url,
             byte[] image)

Photo

public Photo(java.lang.String type,
             java.lang.String url,
             byte[] image)
Method Detail

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

getImage

public byte[] getImage()

setImage

public void setImage(byte[] image)

getType

public java.lang.String getType()
Description copied from class: Property
Returns the type parameter of this property.

Overrides:
getType in class Property
Returns:
the type parameter of this property

setType

public void setType(java.lang.String type)
Description copied from class: Property
Sets the type parameter of this property.

Overrides:
setType in class Property
Parameters:
type - the type to set


Copyright © 2001-2009 Funambol.