org.deegree_impl.clients.wcasclient.model
Class Contact

java.lang.Object
  extended byorg.deegree_impl.clients.wcasclient.model.Contact

public class Contact
extends java.lang.Object

This class encapsulates the contact information that will be preented to a user in the detailed metadata view of the catalog. It shouldn't be mistaken as a complete mapping of the contact-element defined in ISO 19115

Version:
$Revision: 1.3 $
Author:
Andreas Poth

Field Summary
private  java.lang.String city
           
private  java.lang.String country
           
private  java.lang.String email
           
private  java.lang.String facsimile
           
private  java.lang.String name
           
private  java.lang.String onlineResource
           
private  java.lang.String organisation
           
private  java.lang.String phone
           
private  java.lang.String postalCode
           
private  java.lang.String role
           
private  java.lang.String street
           
 
Constructor Summary
Contact(java.lang.String name, java.lang.String facsimile, java.lang.String phone, java.lang.String street, java.lang.String city, java.lang.String postalCode, java.lang.String country, java.lang.String email, java.lang.String role, java.lang.String organisation, java.lang.String onlineResource)
          Creates a new Contact object.
 
Method Summary
 java.lang.String getCity()
          returns the city where the contact person can be reached
 java.lang.String getCountry()
           
 java.lang.String getEmail()
          returns the email address of the contact person
 java.lang.String getFacsimile()
          returns the facsimile numbe of the contact person
 java.lang.String getName()
          returns the name of the contact person
 java.lang.String getOnlineResource()
          returns the online resource (web address) of the contact
 java.lang.String getOrganisation()
          returns the name of the organisation the contact person belongs to
 java.lang.String getPhone()
          returns the phone number of the contact person
 java.lang.String getPostalCode()
          returns the postal code of the city
 java.lang.String getRole()
          returns the name or description of the contacts role
 java.lang.String getStreet()
          returns the street where the contact person can be reached
 void setCity(java.lang.String city)
          sets the city name where the contact person can be reached
 void setCountry(java.lang.String country)
           
 void setEmail(java.lang.String email)
          sets the email address of the contact person
 void setFacsimile(java.lang.String facsimile)
          sets the facsimile number of the contact person
 void setName(java.lang.String name)
          sets the name of the contact person
 void setOnlineResource(java.lang.String onlineResource)
          set the online resource (web address) of the contact
 void setOrganisation(java.lang.String organisation)
          set the name of the organisation the contact person belongs to
 void setPhone(java.lang.String phone)
          sets the phone number of the contact person
 void setPostalCode(java.lang.String postalCode)
          sets the postal code of the city
 void setRole(java.lang.String role)
          set the name or description of the contacts role
 void setStreet(java.lang.String street)
          sets the street where the contact person can be reached
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

city

private java.lang.String city

country

private java.lang.String country

email

private java.lang.String email

facsimile

private java.lang.String facsimile

name

private java.lang.String name

phone

private java.lang.String phone

postalCode

private java.lang.String postalCode

street

private java.lang.String street

role

private java.lang.String role

organisation

private java.lang.String organisation

onlineResource

private java.lang.String onlineResource
Constructor Detail

Contact

public Contact(java.lang.String name,
               java.lang.String facsimile,
               java.lang.String phone,
               java.lang.String street,
               java.lang.String city,
               java.lang.String postalCode,
               java.lang.String country,
               java.lang.String email,
               java.lang.String role,
               java.lang.String organisation,
               java.lang.String onlineResource)
Creates a new Contact object.

Parameters:
name - name of the person
facsimile - facsimile address of the person
phone - phone number of the person
street - street where the person can be reached
city - city where the person can be reached
postalCode - postalCode of the city
country -
email - email address of the person
Method Detail

getName

public java.lang.String getName()
returns the name of the contact person

Returns:

setName

public void setName(java.lang.String name)
sets the name of the contact person

Parameters:
name -

getFacsimile

public java.lang.String getFacsimile()
returns the facsimile numbe of the contact person

Returns:

setFacsimile

public void setFacsimile(java.lang.String facsimile)
sets the facsimile number of the contact person

Parameters:
facsimile -

getPhone

public java.lang.String getPhone()
returns the phone number of the contact person

Returns:

setPhone

public void setPhone(java.lang.String phone)
sets the phone number of the contact person

Parameters:
phone -

getStreet

public java.lang.String getStreet()
returns the street where the contact person can be reached

Returns:

setStreet

public void setStreet(java.lang.String street)
sets the street where the contact person can be reached

Parameters:
street -

getCity

public java.lang.String getCity()
returns the city where the contact person can be reached

Returns:

setCity

public void setCity(java.lang.String city)
sets the city name where the contact person can be reached

Parameters:
city -

getPostalCode

public java.lang.String getPostalCode()
returns the postal code of the city

Returns:

setPostalCode

public void setPostalCode(java.lang.String postalCode)
sets the postal code of the city

Parameters:
postalCode -

getCountry

public java.lang.String getCountry()
Returns:

setCountry

public void setCountry(java.lang.String country)
Parameters:
country -

getEmail

public java.lang.String getEmail()
returns the email address of the contact person

Returns:

setEmail

public void setEmail(java.lang.String email)
sets the email address of the contact person

Parameters:
email -

getOrganisation

public java.lang.String getOrganisation()
returns the name of the organisation the contact person belongs to

Returns:
name of the organisation the contact person belongs to

setOrganisation

public void setOrganisation(java.lang.String organisation)
set the name of the organisation the contact person belongs to

Parameters:
organisation - name of the organisation the contact person belongs to

getRole

public java.lang.String getRole()
returns the name or description of the contacts role

Returns:
name or description of the contacts role

setRole

public void setRole(java.lang.String role)
set the name or description of the contacts role

Parameters:
role - name or description of the contacts role

getOnlineResource

public java.lang.String getOnlineResource()
returns the online resource (web address) of the contact

Returns:
online resource (web address) of the contact

setOnlineResource

public void setOnlineResource(java.lang.String onlineResource)
set the online resource (web address) of the contact

Parameters:
onlineResource -

toString

public java.lang.String toString()