org.apache.shale.usecases.rolodex
Class Contact

java.lang.Object
  extended by org.apache.shale.usecases.rolodex.Contact

public class Contact
extends Object

Represents an entity in the rolodex.


Constructor Summary
Contact()
           
 
Method Summary
 Address getBusinessAddress()
           Returns the business Address.
 String getBusinessPhone()
           Returns the business phone number.
 String getEmail()
           Returns the email address.
 String getEncodedName()
          Returns the name encoded.
 String getName()
           Gets the entity name.
 Address getResidentialAddress()
           Gets the residential Address.
 String getResidentialPhone()
           Gets the residential phone number.
 String getSortName()
          Returns the name in upper case.
 char getTabIndex()
           Returns the first char of the name use by the rolodex index.
 void setBusinessAddress(Address businessAddress)
           Sets the business Address.
 void setBusinessPhone(String businessPhone)
           Sets the business phone number.
 void setEmail(String email)
           Sets the email address.
 void setName(String name)
           Sets the entity name.
 void setResidentialAddress(Address residentialAddress)
           Sets the residential Address.
 void setResidentialPhone(String residentialPhone)
           Sets the residential phone number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contact

public Contact()
Method Detail

getTabIndex

public char getTabIndex()

Returns the first char of the name use by the rolodex index.


getBusinessAddress

public Address getBusinessAddress()

Returns the business Address.


setBusinessAddress

public void setBusinessAddress(Address businessAddress)

Sets the business Address.


getBusinessPhone

public String getBusinessPhone()

Returns the business phone number.


setBusinessPhone

public void setBusinessPhone(String businessPhone)

Sets the business phone number.


getEmail

public String getEmail()

Returns the email address.


setEmail

public void setEmail(String email)

Sets the email address.


getName

public String getName()

Gets the entity name.


setName

public void setName(String name)

Sets the entity name.


getResidentialAddress

public Address getResidentialAddress()

Gets the residential Address.


setResidentialAddress

public void setResidentialAddress(Address residentialAddress)

Sets the residential Address.


getResidentialPhone

public String getResidentialPhone()

Gets the residential phone number.


setResidentialPhone

public void setResidentialPhone(String residentialPhone)

Sets the residential phone number.


getSortName

public String getSortName()

Returns the name in upper case.


getEncodedName

public String getEncodedName()

Returns the name encoded.



Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.