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

java.lang.Object
  extended by com.funambol.common.pim.model.contact.ContactDetail
      extended by com.funambol.common.pim.model.contact.BusinessDetail

public class BusinessDetail
extends ContactDetail

A container for the business details of a contact.


Constructor Summary
BusinessDetail()
          Creates an empty container of business details.
 
Method Summary
 void addTitle(Title title)
          Adds a new title to the title list, unless it is already there.
 Address getAddress()
          Returns the contact's work address.
 java.lang.String getAssistant()
          Returns the name of the contact's assistant
 java.lang.String getCompanies()
          Gets a semicolon-separated list of companies this contact is associated with.
 Property getCompany()
          Returns the company the contact works for.
 Property getDepartment()
          Returns the department where the contact works.
 Property getLogo()
          Deprecated. The logo field is not supported.
 java.lang.String getManager()
          Returns the name of the contact's manager.
 java.lang.String getOfficeLocation()
          Gets the location of the contact's office.
 Property getRole()
          Returns the contact's business role.
 java.util.List getTitles()
          Returns the contact's titles.
 void setAddress(Address address)
          Sets property address.
 void setAssistant(java.lang.String assistant)
          Sets the name of the contact's assistant.
 void setCompanies(java.lang.String companies)
          Sets property companies.
 void setCompany(Property company)
          Sets property company.
 void setDepartment(Property department)
          Sets property department.
 void setLogo(Property logo)
          Deprecated. The logo field is not supported.
 void setManager(java.lang.String manager)
          Sets the name of the contact's manager.
 void setOfficeLocation(java.lang.String officeLocation)
          Gets the location of the contact's office.
 void setRole(Property role)
          Sets property role.
 void setTitles(java.util.List titles)
          Sets property titles.
 
Methods inherited from class com.funambol.common.pim.model.contact.ContactDetail
addEmail, addPhone, addTypifiedProperty, addWebPage, getEmails, getPhones, getWebPages, setEmails, setPhones, setWebPages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusinessDetail

public BusinessDetail()
Creates an empty container of business details.

Method Detail

getRole

public Property getRole()
Returns the contact's business role.

Returns:
the value of property role

getTitles

public java.util.List getTitles()
Returns the contact's titles.

Returns:
a List containing Title objects

setTitles

public void setTitles(java.util.List titles)
Sets property titles.

Parameters:
titles - a List containing Title objects

addTitle

public void addTitle(Title title)
Adds a new title to the title list, unless it is already there.

Parameters:
title - the new title to add

getAddress

public Address getAddress()
Returns the contact's work address.

Returns:
the value of property address

getCompany

public Property getCompany()
Returns the company the contact works for.

Returns:
the value of property company

getDepartment

public Property getDepartment()
Returns the department where the contact works.

Returns:
the value of property department

getManager

public java.lang.String getManager()
Returns the name of the contact's manager.

Returns:
the value of property manager

getAssistant

public java.lang.String getAssistant()
Returns the name of the contact's assistant

Returns:
the value of property assistant

getLogo

public Property getLogo()
Deprecated. The logo field is not supported.

Returns a logo for the contact.

Returns:
the value of property logo

setManager

public void setManager(java.lang.String manager)
Sets the name of the contact's manager.

Parameters:
manager - new value of property manager

setAssistant

public void setAssistant(java.lang.String assistant)
Sets the name of the contact's assistant.

Parameters:
assistant - new value of property assistant

getOfficeLocation

public java.lang.String getOfficeLocation()
Gets the location of the contact's office.

Returns:
value of property officeLocation

setOfficeLocation

public void setOfficeLocation(java.lang.String officeLocation)
Gets the location of the contact's office.

Parameters:
officeLocation - new value of property officeLocation

getCompanies

public java.lang.String getCompanies()
Gets a semicolon-separated list of companies this contact is associated with.

Returns:
value of property companies

setCompanies

public void setCompanies(java.lang.String companies)
Sets property companies.

Parameters:
companies - new value of property companies

setCompany

public void setCompany(Property company)
Sets property company.

Parameters:
company - new value of property company

setDepartment

public void setDepartment(Property department)
Sets property department.

Parameters:
department - new value of property department

setRole

public void setRole(Property role)
Sets property role.

Parameters:
role - new value of property role

setAddress

public void setAddress(Address address)
Sets property address.

Parameters:
address - new value of property address

setLogo

public void setLogo(Property logo)
Deprecated. The logo field is not supported.

Sets property logo.

Parameters:
logo - new value of property logo


Copyright © 2001-2009 Funambol.