org.apache.jetspeed.demo.customerInfo
Class CustomerInfo

java.lang.Object
  extended byorg.apache.jetspeed.demo.customerInfo.CustomerInfo
All Implemented Interfaces:
Serializable

public class CustomerInfo
extends Object
implements Serializable

Version:
$Id: CustomerInfo.java 186509 2004-05-12 18:51:54Z taylor $
Author:
Paul Spencer
See Also:
Serialized Form

Field Summary
private  Address billingAddress
          Holds value of property billingAddress.
private  Calendar lastOrdered
          Holds value of property lastOrdered.
private  String name
          Holds value of property name.
private  Address shippingAddress
          Holds value of property shippingAddress.
 
Constructor Summary
CustomerInfo()
          Creates a new instance of CustomerInfo
 
Method Summary
 Address getBillingAddress()
          Getter for property billingAddress.
 Calendar getLastOrdered()
          Getter for property lastOrdered.
 Date getLastOrderedAsDate()
          Getter for property lastOrdered.
 String getName()
          Getter for property name.
 Address getShippingAddress()
          Getter for property shippingAddress.
 void setBillingAddress(Address billingAddress)
          Setter for property billingAddress.
 void setLastOrdered(Calendar lastOrdered)
          Setter for property lastOrdered.
 void setName(String name)
          Setter for property name.
 void setShippingAddress(Address shippingAddress)
          Setter for property shippingAddress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
Holds value of property name.


billingAddress

private Address billingAddress
Holds value of property billingAddress.


shippingAddress

private Address shippingAddress
Holds value of property shippingAddress.


lastOrdered

private Calendar lastOrdered
Holds value of property lastOrdered.

Constructor Detail

CustomerInfo

public CustomerInfo()
Creates a new instance of CustomerInfo

Method Detail

getName

public String getName()
Getter for property name.

Returns:
Value of property name.

setName

public void setName(String name)
Setter for property name.

Parameters:
name - New value of property name.

getBillingAddress

public Address getBillingAddress()
Getter for property billingAddress.

Returns:
Value of property billingAddress.

setBillingAddress

public void setBillingAddress(Address billingAddress)
Setter for property billingAddress.

Parameters:
billingAddress - New value of property billingAddress.

getShippingAddress

public Address getShippingAddress()
Getter for property shippingAddress.

Returns:
Value of property shippingAddress.

setShippingAddress

public void setShippingAddress(Address shippingAddress)
Setter for property shippingAddress.

Parameters:
shippingAddress - New value of property shippingAddress.

getLastOrderedAsDate

public Date getLastOrderedAsDate()
Getter for property lastOrdered.

Returns:
Value of property lastOrdered.

getLastOrdered

public Calendar getLastOrdered()
Getter for property lastOrdered.

Returns:
Value of property lastOrdered.

setLastOrdered

public void setLastOrdered(Calendar lastOrdered)
Setter for property lastOrdered.

Parameters:
lastOrdered - New value of property lastOrdered.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.