org.deegree.owscommon_1_1_0
Class ContactInfo
java.lang.Object
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:$, $Date:$
- Author:
- Rutger Bezema, last edited by: $Author:$
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 addressadministrativeArea
- from addresspostalCode
- from addresscountry
- from addresselectronicMailAddress
- from addressonlineResource
- hoursOfService
- contactInstructions
-
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.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net