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 Customer

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

@Entity(name="checkout_Customer")
public class Customer
extends AbstractBasicEntity

The Customer.

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

Nested Class Summary
static class Customer.CustomerBuilder
          The CustomerBuilder.
 
Constructor Summary
protected Customer()
          Deprecated. 
  Customer(Customer c)
          The copy constructor.
 
Method Summary
 java.lang.String getEmailAddress()
          Returns the email address.
 java.lang.Long getUserId()
          Returns the user id.
 java.lang.String getVATNumber()
          Returns the VAT (value added tax) number.
 
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

Customer

@Deprecated
protected Customer()
Deprecated. 

The no-argument constructor used by JAXB and JPA.


Customer

public Customer(Customer c)
The copy constructor.

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

getUserId

public final java.lang.Long getUserId()
Returns the user id.

Returns:
the user id.

getEmailAddress

public final java.lang.String getEmailAddress()
Returns the email address.

Returns:
the email address.

getVATNumber

public final java.lang.String getVATNumber()
Returns the VAT (value added tax) number.

Returns:
the VAT number.