deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.owscommon_1_1_0
Class ContactInfo

java.lang.Object
  extended by org.deegree.owscommon_1_1_0.ContactInfo

public class ContactInfo
extends Object

ContactInfo wraps all ows 1.1.0 contact info in a bean.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Constructor Summary
ContactInfo(Pair<List<String>,List<String>> phone, boolean hasAdress, List<String> deliveryPoint, String city, String administrativeArea, String postalCode, String country, List<String> electronicMailAddress, String onlineResource, String hoursOfService, String contactInstructions)
           
 
Method Summary
 String getAdministrativeArea()
           
 String getCity()
           
 String getContactInstructions()
           
 String getCountry()
           
 List<String> getDeliveryPoint()
           
 List<String> getElectronicMailAddress()
           
 String getHoursOfService()
           
 String getOnlineResource()
           
 Pair<List<String>,List<String>> getPhone()
           
 String getPostalCode()
           
 boolean hasAdress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactInfo

public ContactInfo(Pair<List<String>,List<String>> phone,
                   boolean hasAdress,
                   List<String> deliveryPoint,
                   String city,
                   String administrativeArea,
                   String postalCode,
                   String country,
                   List<String> electronicMailAddress,
                   String onlineResource,
                   String hoursOfService,
                   String contactInstructions)
Parameters:
phone - as <list<Voice>,list<fax>> pair, or null if no phone was given.
hasAdress -
deliveryPoint - (s) from address.
city - from address
administrativeArea - from address
postalCode - from address
country - from address
electronicMailAddress - from address
onlineResource -
hoursOfService -
contactInstructions -
Method Detail

getPhone

public final Pair<List<String>,List<String>> getPhone()
Returns:
the phone as <list<Voice>,list<fax>> pair, or null if no phone was given.

hasAdress

public final boolean hasAdress()
Returns:
true if this contactinfo has an adress.

getDeliveryPoint

public final List<String> getDeliveryPoint()
Returns:
the deliveryPoint from address

getCity

public final String getCity()
Returns:
the city from address

getAdministrativeArea

public final String getAdministrativeArea()
Returns:
the administrativeArea from address

getPostalCode

public final String getPostalCode()
Returns:
the postalCode. from address

getCountry

public final String getCountry()
Returns:
the country from address

getElectronicMailAddress

public final List<String> getElectronicMailAddress()
Returns:
the electronicMailAddress from address

getOnlineResource

public final String getOnlineResource()
Returns:
the onlineResource.

getHoursOfService

public final String getHoursOfService()
Returns:
the hoursOfService.

getContactInstructions

public final String getContactInstructions()
Returns:
the contactInstructions.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org