org.deegree.owscommon_1_1_0
Class ContactInfo
java.lang.Object
org.deegree.owscommon_1_1_0.ContactInfo
public class ContactInfo
- extends java.lang.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<java.util.List<java.lang.String>,java.util.List<java.lang.String>> phone,
boolean hasAdress,
java.util.List<java.lang.String> deliveryPoint,
java.lang.String city,
java.lang.String administrativeArea,
java.lang.String postalCode,
java.lang.String country,
java.util.List<java.lang.String> electronicMailAddress,
java.lang.String onlineResource,
java.lang.String hoursOfService,
java.lang.String contactInstructions)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContactInfo
public ContactInfo(Pair<java.util.List<java.lang.String>,java.util.List<java.lang.String>> phone,
boolean hasAdress,
java.util.List<java.lang.String> deliveryPoint,
java.lang.String city,
java.lang.String administrativeArea,
java.lang.String postalCode,
java.lang.String country,
java.util.List<java.lang.String> electronicMailAddress,
java.lang.String onlineResource,
java.lang.String hoursOfService,
java.lang.String contactInstructions)
- Parameters:
phone
- as <list<Voice>,list<fax>> pair, or null
if no
phone was given.hasAdress
- deliveryPoint
- (s) from address.city
- from addressadministrativeArea
- from addresspostalCode
- from addresscountry
- from addresselectronicMailAddress
- from addressonlineResource
- hoursOfService
- contactInstructions
-
getPhone
public final Pair<java.util.List<java.lang.String>,java.util.List<java.lang.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 java.util.List<java.lang.String> getDeliveryPoint()
- Returns:
- the deliveryPoint from address
getCity
public final java.lang.String getCity()
- Returns:
- the city from address
getAdministrativeArea
public final java.lang.String getAdministrativeArea()
- Returns:
- the administrativeArea from address
getPostalCode
public final java.lang.String getPostalCode()
- Returns:
- the postalCode. from address
getCountry
public final java.lang.String getCountry()
- Returns:
- the country from address
getElectronicMailAddress
public final java.util.List<java.lang.String> getElectronicMailAddress()
- Returns:
- the electronicMailAddress from address
getOnlineResource
public final java.lang.String getOnlineResource()
- Returns:
- the onlineResource.
getHoursOfService
public final java.lang.String getHoursOfService()
- Returns:
- the hoursOfService.
getContactInstructions
public final java.lang.String getContactInstructions()
- Returns:
- the contactInstructions.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org