Jwma

dtw.webmail.model
Interface JwmaContact

All Known Subinterfaces:
JwmaContactImpl
All Known Implementing Classes:
CastorContact

public interface JwmaContact

An interface defining the contract for interaction with the JwmaContact model.

The JwmaContact allows a view programmer to obtain information about an contact to display it for reading or editing.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Method Summary
 java.lang.String getAlternateEmail()
          Returns a String representing the altnerate email of this contact object.
 java.util.Date getBirthDate()
          Returns the birthdate of this contact as Date.
 java.lang.String getCategory()
          Returns a String representing the category of this JwmaContact.
 java.lang.String getComments()
          Returns a String representing the comments of this contact object.
 java.lang.String getCompany()
          Returns a String representing the company name of this contact object.
 java.lang.String getCompanyURL()
          Returns a String representing the company URL associated with this contact object.
 java.lang.String getEmail()
          Returns a String representing the email of this contact object.
 java.lang.String getFaxNumber()
          Returns a String representing the fax number of this contact.
 java.lang.String getFirstname()
          Returns a String representing the firstname of this contact object.
 java.lang.String getHomeCity()
          Returns a String representing the city of this contact at home.
 java.lang.String getHomeCountry()
          Returns a String representing the country of this contact at home.
 java.lang.String getHomePhoneNumber()
          Returns a String representing the home phone number of this contact.
 java.lang.String getHomeRegion()
          Returns a String representing the region of this contact at home.
 java.lang.String getHomeStreet()
          Returns a String representing the street name of this contact at home.
 java.lang.String getHomeZIP()
          Returns a String representing the ZIP of this contact at home.
 java.lang.String getLastname()
          Returns a String representing the lastname of this contact object.
 java.lang.String getMiddlename()
          Returns a String representing the middlename of this contact object.
 java.lang.String getMobileNumber()
          Returns a String representing the mobile phone number of this contact.
 java.lang.String getNickname()
          Returns a String representing the nickname of this contact object.
 java.lang.String getPagerNumber()
          Returns a String representing the pager number of this contact.
 java.lang.String getRole()
          Returns a String representing the role of this contact object.
 java.lang.String getTitle()
          Returns a String representing the title of this contact object.
 java.lang.String getUID()
          Returns the unique identifier of this JwmaContact.
 java.lang.String getURL()
          Returns a String representing an URL associated with this contact object.
 java.lang.String getWorkCity()
          Returns a String representing the city of this contact at work.
 java.lang.String getWorkCountry()
          Returns a String representing the country of this contact at work.
 java.lang.String getWorkPhoneNumber()
          Returns a String representing the work phone number of this contact.
 java.lang.String getWorkRegion()
          Returns a String representing the region of this contact at work.
 java.lang.String getWorkStreet()
          Returns a String representing the street name of this contact at work.
 java.lang.String getWorkZIP()
          Returns a String representing the ZIP of this contact at work.
 boolean isFrequentRecipient()
          Tests if this contact represents a frequent recipient.
 boolean isPrimarilyWorkContact()
          Tests if this JwmaContact is primary a work contact.
 

Method Detail

getUID

public java.lang.String getUID()
Returns the unique identifier of this JwmaContact.

Returns:
the unique identifier as String.

getCategory

public java.lang.String getCategory()
Returns a String representing the category of this JwmaContact.

Returns:
the category as String.

getNickname

public java.lang.String getNickname()
Returns a String representing the nickname of this contact object.

Note that the nickname is used as unique identifier of a contact object within the contacts database.

Returns:
the nickname of this contact as String.
See Also:
JwmaContacts

getFirstname

public java.lang.String getFirstname()
Returns a String representing the firstname of this contact object.

Returns:
the firstname of this contact as String.

getLastname

public java.lang.String getLastname()
Returns a String representing the lastname of this contact object.

Returns:
the lastname of this contact as String.

getMiddlename

public java.lang.String getMiddlename()
Returns a String representing the middlename of this contact object.

Returns:
the middlename of this contact as String.

getCompany

public java.lang.String getCompany()
Returns a String representing the company name of this contact object.

Returns:
the company name of this contact as String.

getTitle

public java.lang.String getTitle()
Returns a String representing the title of this contact object.

Returns:
the title of this contact as String.

getRole

public java.lang.String getRole()
Returns a String representing the role of this contact object.

Returns:
the role of this contact as String.

getHomePhoneNumber

public java.lang.String getHomePhoneNumber()
Returns a String representing the home phone number of this contact.

Returns:
the home phone number of this contact as String.

getWorkPhoneNumber

public java.lang.String getWorkPhoneNumber()
Returns a String representing the work phone number of this contact.

Returns:
the work phone number of this contact as String.

getPagerNumber

public java.lang.String getPagerNumber()
Returns a String representing the pager number of this contact.

Returns:
the pager number of this contact as String.

getFaxNumber

public java.lang.String getFaxNumber()
Returns a String representing the fax number of this contact.

Returns:
the fax number of this contact as String.

getMobileNumber

public java.lang.String getMobileNumber()
Returns a String representing the mobile phone number of this contact.

Returns:
the mobile phone number of this contact as String.

isPrimarilyWorkContact

public boolean isPrimarilyWorkContact()
Tests if this JwmaContact is primary a work contact.

Returns:
true if primarily work contact, false otherwise.

getWorkStreet

public java.lang.String getWorkStreet()
Returns a String representing the street name of this contact at work.

Returns:
the street of this contact at work as String.

getWorkCity

public java.lang.String getWorkCity()
Returns a String representing the city of this contact at work.

Returns:
the city of this contact at work as String.

getWorkRegion

public java.lang.String getWorkRegion()
Returns a String representing the region of this contact at work.

Returns:
the region of this contact at work as String.

getWorkCountry

public java.lang.String getWorkCountry()
Returns a String representing the country of this contact at work.

Returns:
the country of this contact at work as String.

getWorkZIP

public java.lang.String getWorkZIP()
Returns a String representing the ZIP of this contact at work.

Returns:
the ZIP of this contact at work as String.

getHomeStreet

public java.lang.String getHomeStreet()
Returns a String representing the street name of this contact at home.

Returns:
the street of this contact at home as String.

getHomeCity

public java.lang.String getHomeCity()
Returns a String representing the city of this contact at home.

Returns:
the city of this contact at home as String.

getHomeRegion

public java.lang.String getHomeRegion()
Returns a String representing the region of this contact at home.

Returns:
the region of this contact at home as String.

getHomeCountry

public java.lang.String getHomeCountry()
Returns a String representing the country of this contact at home.

Returns:
the country of this contact at home as String.

getHomeZIP

public java.lang.String getHomeZIP()
Returns a String representing the ZIP of this contact at home.

Returns:
the ZIP of this contact at home as String.

getEmail

public java.lang.String getEmail()
Returns a String representing the email of this contact object.

Returns:
the email of this contact as String.

getAlternateEmail

public java.lang.String getAlternateEmail()
Returns a String representing the altnerate email of this contact object.

Returns:
the alternate email of this contact as String.

getURL

public java.lang.String getURL()
Returns a String representing an URL associated with this contact object.

Returns:
an URL associated with this contact as String.

getCompanyURL

public java.lang.String getCompanyURL()
Returns a String representing the company URL associated with this contact object.

Returns:
the company URL associated with this contact as String.

getComments

public java.lang.String getComments()
Returns a String representing the comments of this contact object.

Returns:
the comments of this contact as String.

getBirthDate

public java.util.Date getBirthDate()
Returns the birthdate of this contact as Date.

Returns:
the birthdate as Date.

isFrequentRecipient

public boolean isFrequentRecipient()
Tests if this contact represents a frequent recipient.

Returns:
true if this contact represents a frequent recipient, false otherwise.

Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)