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

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.component.shop.checkout.Address
All Implemented Interfaces:
java.io.Serializable

@Entity(name="checkout_Address")
public class Address
extends AbstractBasicEntity

The Address.

Version:
$Revision: 1979 $
Author:
Christian Schatt
See Also:
Serialized Form

Nested Class Summary
static class Address.AddressBuilder
          The AddressBuilder.
 
Constructor Summary
protected Address()
          Deprecated. 
  Address(Address a)
          The copy constructor.
 
Method Summary
 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.
 
Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

@Deprecated
protected Address()
Deprecated. 

The no-argument constructor used by JAXB and JPA.


Address

public Address(Address a)
The copy constructor.

Parameters:
a - the Address to be copied.
Throws:
java.lang.IllegalArgumentException - if the given Address is null.
Method Detail

getSalutation

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

Returns:
the salutation.

getFirstName

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

Returns:
the first name.

getLastName

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

Returns:
the last name.

getAdditionalNameInfo

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

Returns:
the additional name info.

getInstitution

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

Returns:
the institution.

getStreet

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

Returns:
the street.

getAdditionalStreetInfo

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

Returns:
the additional street info.

getPostalCode

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

Returns:
the postal code.

getCity

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

Returns:
the city.

getRegion

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

Returns:
the region.

getCountry

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

Returns:
the country.