org.geebis.books.model.partner
Class ContactInformation

java.lang.Object
  extended by org.geebis.books.model.partner.ContactInformation
All Implemented Interfaces:
java.io.Serializable

@Name(value="contactFacet")
public class ContactInformation
extends java.lang.Object
implements java.io.Serializable

A ContactInformation is one "location" at which you can contact someone. For example, a customer can have two contact information objects, one representing his HOME contact information and one representing his WORK contact information.

See Also:
Serialized Form

Constructor Summary
ContactInformation()
           
ContactInformation(java.lang.String name)
           
 
Method Summary
 java.util.List<EmailAddress> getEmailAddresses()
          Gets this contact information's email addresses
 java.lang.Long getId()
           
 MailingAddress getMailingAddress()
          Get the mailing address for this contact information
 java.lang.String getName()
          Gets the name of this contact information
 java.util.List<TelephoneNumber> getTelephoneNumbers()
          Gets this contact information's telephone numbers
 java.lang.Integer getVersion()
           
 void setEmailAddresses(java.util.List<EmailAddress> emailAddresses)
          Set this contact information's email addresses
 void setId(java.lang.Long id)
           
 void setMailingAddress(MailingAddress mailingAddress)
          Sets the mailing address for this contact information.
 void setName(java.lang.String name)
          Sets the name of this contact information The name of a contact v should be something like "WORK" or "HOME"
 void setTelephoneNumbers(java.util.List<TelephoneNumber> telephoneNumbers)
          Sets this contact information's telephone numbers
 void setVersion(java.lang.Integer version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactInformation

public ContactInformation()

ContactInformation

public ContactInformation(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Gets the name of this contact information

Returns:
the name of this contact information
See Also:
setName(String)

setName

public void setName(java.lang.String name)
Sets the name of this contact information The name of a contact v should be something like "WORK" or "HOME"

Parameters:
name - the new name of this contact information

getTelephoneNumbers

public java.util.List<TelephoneNumber> getTelephoneNumbers()
Gets this contact information's telephone numbers

Returns:
this contact information's telephone numbers

setTelephoneNumbers

public void setTelephoneNumbers(java.util.List<TelephoneNumber> telephoneNumbers)
Sets this contact information's telephone numbers

Parameters:
telephoneNumbers - the new telephone numbers for this contact information

getEmailAddresses

public java.util.List<EmailAddress> getEmailAddresses()
Gets this contact information's email addresses

Returns:
this contact information's email addresses

setEmailAddresses

public void setEmailAddresses(java.util.List<EmailAddress> emailAddresses)
Set this contact information's email addresses

Parameters:
emailAddresses - the new email addresses for this contact information

getMailingAddress

public MailingAddress getMailingAddress()
Get the mailing address for this contact information

Returns:
the mailing address for this contact information

setMailingAddress

public void setMailingAddress(MailingAddress mailingAddress)
Sets the mailing address for this contact information.

Parameters:
mailingAddress - the new mailing address for this contact information

getVersion

public java.lang.Integer getVersion()

setVersion

public void setVersion(java.lang.Integer version)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)