pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.checkout
Class Address.AddressBuilder

java.lang.Object
  extended by org.torweg.pulse.component.shop.checkout.Address.AddressBuilder
Enclosing class:
Address

public static class Address.AddressBuilder
extends java.lang.Object

The AddressBuilder.

Version:
$Revision: 1979 $
Author:
Christian Schatt

Constructor Summary
Address.AddressBuilder()
          The no-argument constructor.
 
Method Summary
 Address build()
          Builds a new Address.
 java.lang.String getAdditionalNameInfo()
          Returns the additional name info.
 java.lang.String getAdditionalStreetInfo()
          Returns the additional street info.
 java.lang.String getCity()
          Returns the city.
 java.lang.String getCountry()
          Returns the country.
 java.lang.String getFirstName()
          Returns the first name.
 java.lang.String getInstitution()
          Returns the institution.
 java.lang.String getLastName()
          Returns the last name.
 java.lang.String getPostalCode()
          Returns the postal code.
 java.lang.String getRegion()
          Returns the region.
 java.lang.String getSalutation()
          Returns the salutation.
 java.lang.String getStreet()
          Returns the street.
 Address.AddressBuilder setAdditionalNameInfo(java.lang.String ani)
          Sets the additional name info.
 Address.AddressBuilder setAdditionalStreetInfo(java.lang.String asi)
          Sets the additional street info.
 Address.AddressBuilder setCity(java.lang.String c)
          Sets the city.
 Address.AddressBuilder setCountry(java.lang.String c)
          Sets the country.
 Address.AddressBuilder setFirstName(java.lang.String fn)
          Sets the first name.
 Address.AddressBuilder setInstitution(java.lang.String i)
          Sets the institution.
 Address.AddressBuilder setLastName(java.lang.String ln)
          Sets the last name.
 Address.AddressBuilder setPostalCode(java.lang.String pc)
          Sets the postal code.
 Address.AddressBuilder setRegion(java.lang.String r)
          Sets the region.
 Address.AddressBuilder setSalutation(java.lang.String s)
          Sets the salutation.
 Address.AddressBuilder setStreet(java.lang.String s)
          Sets the street.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address.AddressBuilder

public Address.AddressBuilder()
The no-argument constructor.

Method Detail

getSalutation

public final java.lang.String getSalutation()
Returns the salutation.

Returns:
the salutation.

setSalutation

public final Address.AddressBuilder setSalutation(java.lang.String s)
Sets the salutation.

Parameters:
s - the salutation to set.
Returns:
this.

getFirstName

public final java.lang.String getFirstName()
Returns the first name.

Returns:
the first name.

setFirstName

public final Address.AddressBuilder setFirstName(java.lang.String fn)
Sets the first name.

Parameters:
fn - the first name to set.
Returns:
this.

getLastName

public final java.lang.String getLastName()
Returns the last name.

Returns:
the last name.

setLastName

public final Address.AddressBuilder setLastName(java.lang.String ln)
Sets the last name.

Parameters:
ln - the last name to set.
Returns:
this.

getAdditionalNameInfo

public final java.lang.String getAdditionalNameInfo()
Returns the additional name info.

Returns:
the additional name info.

setAdditionalNameInfo

public final Address.AddressBuilder setAdditionalNameInfo(java.lang.String ani)
Sets the additional name info.

Parameters:
ani - the additional name info to set.
Returns:
this.

getInstitution

public final java.lang.String getInstitution()
Returns the institution.

Returns:
the institution.

setInstitution

public final Address.AddressBuilder setInstitution(java.lang.String i)
Sets the institution.

Parameters:
i - the institution to set.
Returns:
this.

getStreet

public final java.lang.String getStreet()
Returns the street.

Returns:
the street.

setStreet

public final Address.AddressBuilder setStreet(java.lang.String s)
Sets the street.

Parameters:
s - the street to set.
Returns:
this.

getAdditionalStreetInfo

public final java.lang.String getAdditionalStreetInfo()
Returns the additional street info.

Returns:
the additional street info.

setAdditionalStreetInfo

public final Address.AddressBuilder setAdditionalStreetInfo(java.lang.String asi)
Sets the additional street info.

Parameters:
asi - the additional street info to set.
Returns:
this.

getPostalCode

public final java.lang.String getPostalCode()
Returns the postal code.

Returns:
the postal code.

setPostalCode

public final Address.AddressBuilder setPostalCode(java.lang.String pc)
Sets the postal code.

Parameters:
pc - the postal code to set.
Returns:
this.

getCity

public final java.lang.String getCity()
Returns the city.

Returns:
the city.

setCity

public final Address.AddressBuilder setCity(java.lang.String c)
Sets the city.

Parameters:
c - the city to set.
Returns:
this.

getRegion

public final java.lang.String getRegion()
Returns the region.

Returns:
the region.

setRegion

public final Address.AddressBuilder setRegion(java.lang.String r)
Sets the region.

Parameters:
r - the region to set.
Returns:
this.

getCountry

public final java.lang.String getCountry()
Returns the country.

Returns:
the country.

setCountry

public final Address.AddressBuilder setCountry(java.lang.String c)
Sets the country.

Parameters:
c - the country to set.
Returns:
this.

build

public final Address build()
Builds a new Address.

Returns:
the new Address.