org.jafer.registry.model
Interface Contact

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Contact

public interface Contact
extends java.io.Serializable

This interface represents the business entities contact infomration for JAFER.


Method Summary
 java.lang.String getDescription()
          Gets the description of the contact in English
 java.lang.String getEmail()
          Gets the email of the contact
 java.lang.String getName()
          Gets the name of the contact
 java.lang.String getPhone()
          Gets the phone of the contact
 void setDescrition(java.lang.String description)
          Sets the description of the contact in English
 void setEmail(java.lang.String email)
          Sets the email of the contact
 void setName(java.lang.String name)
          Sets the name of the contact
 void setPhone(java.lang.String phone)
          Sets the phone of the contact
 

Method Detail

getName

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

Returns:
The contacts name

setName

void setName(java.lang.String name)
             throws InvalidNameException,
                    InvalidLengthException
Sets the name of the contact

Parameters:
name - The name to set
Throws:
InvalidNameException
InvalidLengthException

getDescription

java.lang.String getDescription()
Gets the description of the contact in English

Returns:
The contacts name

setDescrition

void setDescrition(java.lang.String description)
                   throws InvalidLengthException
Sets the description of the contact in English

Parameters:
description - The description to set
Throws:
InvalidLengthException

getPhone

java.lang.String getPhone()
Gets the phone of the contact

Returns:
The contacts name

setPhone

void setPhone(java.lang.String phone)
              throws InvalidLengthException
Sets the phone of the contact

Parameters:
phone - The phone to set
Throws:
InvalidLengthException

getEmail

java.lang.String getEmail()
Gets the email of the contact

Returns:
The contacts name

setEmail

void setEmail(java.lang.String email)
              throws InvalidLengthException
Sets the email of the contact

Parameters:
email - The email to set
Throws:
InvalidLengthException