org.ow2.dragon.api.to.organization
Class PersonTO

java.lang.Object
  extended by org.ow2.dragon.api.to.organization.PartyTO
      extended by org.ow2.dragon.api.to.organization.PersonTO

public class PersonTO
extends PartyTO

This type gives the description of a person.

Author:
ambarthe - eBM WebSourcing

Constructor Summary
PersonTO()
           
 
Method Summary
 java.lang.String getEmail()
          Returns the person's email
 java.lang.String getFirstname()
          Returns the person's firstname
 java.lang.String getFullname()
           
 java.lang.String getLastname()
          Returns the person's lastname
 java.lang.String getLocalization()
          Returns the person's localization
 java.lang.String getMiddlename()
          Returns the person's middlename
 OrganizationUnitTO getOrganization()
          Returns the organization object
 java.lang.String getPhone()
          Returns the person's phone
 PostTO getPost()
          Returns the person's post
 java.lang.String getTitle()
          Returns the person's title
 boolean isContact()
           
 void setContact(boolean contact)
           
 void setEmail(java.lang.String email)
          Sets the person's email
 void setFirstname(java.lang.String firstname)
          Sets the person's firstname
 void setLastname(java.lang.String lastname)
          Sets the person's lastname
 void setLocalization(java.lang.String localization)
          Sets the person's localization
 void setMiddlename(java.lang.String middlename)
          Sets the person's middlename
 void setOrganization(OrganizationUnitTO organization)
          Sets the organization's director
 void setPhone(java.lang.String phone)
          Sets the person's phone
 void setPost(PostTO post)
          Sets the person's post
 void setTitle(java.lang.String title)
          Sets the person's title
 
Methods inherited from class org.ow2.dragon.api.to.organization.PartyTO
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonTO

public PersonTO()
Method Detail

getEmail

public java.lang.String getEmail()
Returns the person's email

Returns:

getFirstname

public java.lang.String getFirstname()
Returns the person's firstname

Returns:

getFullname

public java.lang.String getFullname()

getLastname

public java.lang.String getLastname()
Returns the person's lastname

Returns:

getLocalization

public java.lang.String getLocalization()
Returns the person's localization

Returns:

getMiddlename

public java.lang.String getMiddlename()
Returns the person's middlename

Returns:

getOrganization

public OrganizationUnitTO getOrganization()
Returns the organization object

Returns:

getPhone

public java.lang.String getPhone()
Returns the person's phone

Returns:

getPost

public PostTO getPost()
Returns the person's post

Returns:

getTitle

public java.lang.String getTitle()
Returns the person's title

Returns:

setEmail

public void setEmail(java.lang.String email)
Sets the person's email

Parameters:
email -

setFirstname

public void setFirstname(java.lang.String firstname)
Sets the person's firstname

Parameters:
firstname -

setLastname

public void setLastname(java.lang.String lastname)
Sets the person's lastname

Parameters:
lastname -

setLocalization

public void setLocalization(java.lang.String localization)
Sets the person's localization

Parameters:
localization -

setMiddlename

public void setMiddlename(java.lang.String middlename)
Sets the person's middlename

Parameters:
middlename -

setOrganization

public void setOrganization(OrganizationUnitTO organization)
Sets the organization's director

Parameters:
organization -

setPhone

public void setPhone(java.lang.String phone)
Sets the person's phone

Parameters:
email -

setPost

public void setPost(PostTO post)
Sets the person's post

Parameters:
post -

setTitle

public void setTitle(java.lang.String title)
Sets the person's title

Parameters:
title -

isContact

public boolean isContact()

setContact

public void setContact(boolean contact)


Copyright © 2008-2009 eBMWebsourcing. All Rights Reserved.