deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcbase
Class ContactAddress

java.lang.Object
  extended by org.deegree.ogcbase.ContactAddress

public class ContactAddress
extends java.lang.Object

Specifies the data structure of a address and the access to its components based on ISO 19115.

Since:
1.0
Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Katharina Lupp, Markus Schneider

Constructor Summary
ContactAddress(java.lang.String addressType, java.lang.String address, java.lang.String city, java.lang.String stateOrProvince, java.lang.String postCode, java.lang.String country)
          constructor initializing the class with ContactAddress Strings
 
Method Summary
 java.lang.String getAddress()
          returns the address. usally this is the street and number of a building.
 java.lang.String getAddressType()
          returns the address type. e.g.
 java.lang.String getCity()
          returns the name of the city
 java.lang.String getCountry()
          returns the name of the country. this should be the complete name and not an abbreviation.
 java.lang.String getPostCode()
          returns the post code.
 java.lang.String getStateOrProvince()
          returns the name of the state or province of the address.
 void setAddress(java.lang.String address)
          sets the address. usally this is the street and number of a building.
 void setAddressType(java.lang.String addressType)
          sets the address type. e.g.
 void setCity(java.lang.String city)
          sets the name of the city
 void setCountry(java.lang.String country)
          sets the name of the country. this should be the complete name and not an abbreviation.
 void setPostCode(java.lang.String postCode)
          sets the post code.
 void setStateOrProvince(java.lang.String stateOrProvince)
          sets the name of the state or province of the address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactAddress

public ContactAddress(java.lang.String addressType,
                      java.lang.String address,
                      java.lang.String city,
                      java.lang.String stateOrProvince,
                      java.lang.String postCode,
                      java.lang.String country)
constructor initializing the class with ContactAddress Strings

Parameters:
addressType -
address -
city -
stateOrProvince -
postCode -
country -
Method Detail

getAddressType

public java.lang.String getAddressType()
returns the address type. e.g. 'postal'

Returns:
the address type. e.g. 'postal'

setAddressType

public void setAddressType(java.lang.String addressType)
sets the address type. e.g. 'postal'

Parameters:
addressType -

getAddress

public java.lang.String getAddress()
returns the address. usally this is the street and number of a building. It also can be a p.o. box

Returns:
the address. usally this is the street and number of a building. It also can be a p.o. box

setAddress

public void setAddress(java.lang.String address)
sets the address. usally this is the street and number of a building. It also can be a p.o. box

Parameters:
address -

getCity

public java.lang.String getCity()
returns the name of the city

Returns:
the name of the city

setCity

public void setCity(java.lang.String city)
sets the name of the city

Parameters:
city -

getStateOrProvince

public java.lang.String getStateOrProvince()
returns the name of the state or province of the address.

Returns:
the name of the state or province of the address.

setStateOrProvince

public void setStateOrProvince(java.lang.String stateOrProvince)
sets the name of the state or province of the address.

Parameters:
stateOrProvince -

getPostCode

public java.lang.String getPostCode()
returns the post code. This doesn't contain an abbreviation for the country

Returns:
the post code. This doesn't contain an abbreviation for the country

setPostCode

public void setPostCode(java.lang.String postCode)
sets the post code. This doesn't contain an abbreviation for the country

Parameters:
postCode -

getCountry

public java.lang.String getCountry()
returns the name of the country. this should be the complete name and not an abbreviation.

Returns:
the name of the country. this should be the complete name and not an abbreviation.

setCountry

public void setCountry(java.lang.String country)
sets the name of the country. this should be the complete name and not an abbreviation.

Parameters:
country -

deegree 2.5 (2011/06/29 09:44 build-8-official)

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