org.jasig.portlet.contacts.model.impl
Class ContactPojo

java.lang.Object
  extended by org.jasig.portlet.contacts.model.impl.ContactPojo
All Implemented Interfaces:
Serializable, Contact

public class ContactPojo
extends Object
implements Contact

Author:
mfgsscw2
See Also:
Serialized Form

Constructor Summary
ContactPojo()
           
 
Method Summary
 List<Address> getAddresses()
           
 String getContactSource()
           
 String getDepartment()
           
 List<EmailAddress> getEmailAddresses()
           
 String getFirstname()
           
 String getId()
           
 String getImageURI()
           
 String getInitials()
           
 String getOrganisation()
           
 List<PhoneNumber> getPhoneNumbers()
           
 String getPosition()
           
 Address getPrimaryAddress()
           
 EmailAddress getPrimaryEmailAddress()
           
 PhoneNumber getPrimaryPhoneNumber()
           
 String getSurname()
           
 String getTitle()
           
 String getURN()
           
 void setAddresses(List<Address> addresses)
           
 void setContactSource(String contactSource)
           
 void setDepartment(String department)
           
 void setEmailAddresses(List<EmailAddress> addresses)
           
 void setFirstname(String firstname)
           
 void setId(String id)
           
 void setImageURI(String uri)
           
 void setInitials(String initials)
           
 void setOrganisation(String organisation)
           
 void setPhoneNumbers(List<PhoneNumber> numbers)
           
 void setPosition(String position)
           
 void setSurname(String surname)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactPojo

public ContactPojo()
Method Detail

getURN

public String getURN()
Specified by:
getURN in interface Contact

getTitle

public String getTitle()
Specified by:
getTitle in interface Contact
Returns:
the title

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface Contact
Parameters:
title - the title to set

getFirstname

public String getFirstname()
Specified by:
getFirstname in interface Contact
Returns:
the firstname

setFirstname

public void setFirstname(String firstname)
Specified by:
setFirstname in interface Contact
Parameters:
firstname - the firstname to set

getSurname

public String getSurname()
Specified by:
getSurname in interface Contact
Returns:
the surname

setSurname

public void setSurname(String surname)
Specified by:
setSurname in interface Contact
Parameters:
surname - the surname to set

getInitials

public String getInitials()
Specified by:
getInitials in interface Contact
Returns:
the initials

setInitials

public void setInitials(String initials)
Specified by:
setInitials in interface Contact
Parameters:
initials - the initials to set

getPosition

public String getPosition()
Specified by:
getPosition in interface Contact
Returns:
the position

setPosition

public void setPosition(String position)
Specified by:
setPosition in interface Contact
Parameters:
position - the position to set

getOrganisation

public String getOrganisation()
Specified by:
getOrganisation in interface Contact
Returns:
the organisation

setOrganisation

public void setOrganisation(String organisation)
Specified by:
setOrganisation in interface Contact
Parameters:
organisation - the organisation to set

getDepartment

public String getDepartment()
Specified by:
getDepartment in interface Contact
Returns:
the department

setDepartment

public void setDepartment(String department)
Specified by:
setDepartment in interface Contact
Parameters:
department - the department to set

getEmailAddresses

public List<EmailAddress> getEmailAddresses()
Specified by:
getEmailAddresses in interface Contact
Returns:
the emailAddresses

getAddresses

public List<Address> getAddresses()
Specified by:
getAddresses in interface Contact
Returns:
the addresses

getPhoneNumbers

public List<PhoneNumber> getPhoneNumbers()
Specified by:
getPhoneNumbers in interface Contact
Returns:
the phoneNumbers

getContactSource

public String getContactSource()
Specified by:
getContactSource in interface Contact
Returns:
the contactSource

setContactSource

public void setContactSource(String contactSource)
Specified by:
setContactSource in interface Contact
Parameters:
contactSource - the contactSource to set

getPrimaryAddress

public Address getPrimaryAddress()
Specified by:
getPrimaryAddress in interface Contact
Returns:
primary Address

getPrimaryEmailAddress

public EmailAddress getPrimaryEmailAddress()
Specified by:
getPrimaryEmailAddress in interface Contact
Returns:
primary EmailAddress

getPrimaryPhoneNumber

public PhoneNumber getPrimaryPhoneNumber()
Specified by:
getPrimaryPhoneNumber in interface Contact
Returns:
primary PhoneNumber

getId

public String getId()
Specified by:
getId in interface Contact

setId

public void setId(String id)
Specified by:
setId in interface Contact
Parameters:
id - the ID of the Contact

getImageURI

public String getImageURI()
Specified by:
getImageURI in interface Contact
Returns:
the URI for an image for the contact

setImageURI

public void setImageURI(String uri)
Specified by:
setImageURI in interface Contact
Parameters:
uri - String representation of the URI of a Image for the contact.

setAddresses

public void setAddresses(List<Address> addresses)
Specified by:
setAddresses in interface Contact

setEmailAddresses

public void setEmailAddresses(List<EmailAddress> addresses)
Specified by:
setEmailAddresses in interface Contact

setPhoneNumbers

public void setPhoneNumbers(List<PhoneNumber> numbers)
Specified by:
setPhoneNumbers in interface Contact


Copyright © 2013 Jasig. All Rights Reserved.